Skip to content

Commit 629fe3f

Browse files
author
rakeshAlgo
committed
make labels align with heading
1 parent a165c52 commit 629fe3f

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/css/doc.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@
2828
.doc h1.page {
2929
font-size: var(--heading-h1);
3030
margin-top: 0;
31+
display: inline-block;
32+
}
33+
34+
.doc h1.page + .labels {
35+
display: inline-block;
36+
position: relative;
37+
top: -5px;
38+
margin-left: var(--base-space);
3139
}
3240

3341
.doc h2 {
@@ -1005,6 +1013,7 @@ table.tableblock code.language-console.hljs.shell {
10051013
.doc h1.page {
10061014
font-size: var(--heading-h1-sm);
10071015
margin-bottom: 10px;
1016+
display: block;
10081017
}
10091018

10101019
.doc h2 {

src/css/labels.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
opacity: 0.6;
8181
}
8282

83-
.doc li.status {
83+
.doc .status {
8484
color: var(--color-brand-caution);
8585
border: 1px solid var(--color-brand-caution);
8686
border-radius: 3px;

0 commit comments

Comments
 (0)