Skip to content

Commit fd88471

Browse files
committed
Match codeblock footer height with tabs
1 parent fe43ed7 commit fd88471

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

src/css/custom.css

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,30 +1000,29 @@ samp {
10001000
}
10011001

10021002
.code-block-footer {
1003-
height: 2.5em;
1004-
padding: 0 var(--ifm-pre-padding);
1005-
margin-bottom: 25px;
1006-
margin-top: -8px;
1003+
height: 2.625rem;
10071004
justify-content: space-between;
10081005
}
10091006

1010-
.code-block-expand {
1011-
appearance: none;
1012-
border: none;
1013-
background: none;
1014-
font-size: inherit;
1015-
cursor: pointer;
1016-
}
1017-
10181007
.code-block-expand,
10191008
.code-block-snack-link {
10201009
display: flex;
10211010
align-items: center;
1022-
padding: 0;
10231011
margin: 0;
1012+
padding: 0 var(--ifm-pre-padding);
10241013
height: 100%;
10251014
}
10261015

1016+
.code-block-expand {
1017+
appearance: none;
1018+
border: none;
1019+
background: none;
1020+
font-size: inherit;
1021+
cursor: pointer;
1022+
margin-left: -4px;
1023+
opacity: 0.7;
1024+
}
1025+
10271026
.code-block-snack-link {
10281027
margin-left: auto;
10291028

0 commit comments

Comments
 (0)