Skip to content

Commit 9753cbc

Browse files
committed
label positioning in examples
1 parent 4fbde9e commit 9753cbc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/css/doc.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1401,8 +1401,8 @@ body {
14011401
/* border-left: 1px solid var(--color-docs); */
14021402
/* border-right: 1px solid var(--color-docs); */
14031403
padding: 0 0.75rem;
1404-
margin: 0;
1405-
transform: translate(0, -1.5rem);
1404+
margin: -0.5rem 0 0;
1405+
transform: translate(0, -1rem);
14061406
width: fit-content;
14071407
background: var(--body-background);
14081408
line-height: 1rem;

src/css/labels.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ div.labels {
1818
padding: 0.5rem 0 1rem;
1919
}
2020

21+
.exampleblock div.labels {
22+
padding: 0.5rem;
23+
}
24+
2125
.header-label-container > div.labels {
2226
display: flex;
2327
align-self: center;

0 commit comments

Comments
 (0)