Skip to content

Commit d08ef0f

Browse files
committed
set height and width on svg; slightly increase size of clipboard icon
1 parent 12f536b commit d08ef0f

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/css/doc.css

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -699,13 +699,10 @@
699699
color: inherit;
700700
outline: none;
701701
padding: 0;
702-
/*
703-
padding: 0.025rem 0 0;
704-
*/
705702
font-size: inherit;
706703
line-height: inherit;
707-
width: 1em;
708-
height: 1em;
704+
width: 1.025em;
705+
height: 1.025em;
709706
}
710707

711708
.code-toolbox .copy-button * {
@@ -714,6 +711,8 @@
714711

715712
.code-toolbox .copy-button svg {
716713
fill: currentColor;
714+
width: inherit;
715+
height: inherit;
717716
}
718717

719718
.code-toolbox .copy-toast {

src/css/header.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ body {
190190

191191
.navbar-item .icon svg {
192192
fill: currentColor;
193+
width: inherit;
194+
height: inherit;
193195
}
194196

195197
.navbar-link {

0 commit comments

Comments
 (0)