Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Commit d123657

Browse files
committed
feat: less spacing in HoverOverlay SCSS
1 parent 05527cf commit d123657

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/HoverOverlay.scss

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
position: absolute;
1616
top: 0;
1717
right: 0;
18-
padding: 0.25rem;
18+
padding: 0.2rem;
1919
background: inherit;
2020
z-index: 1;
2121
border: none;
@@ -29,12 +29,17 @@
2929
border-top: 1px solid var(--border-color);
3030
}
3131
hr {
32-
margin: 0.5rem -0.5rem;
32+
margin: 0.25rem -0.25rem;
3333
background: var(--border-color);
3434
}
3535
p,
3636
pre {
37-
margin-bottom: 0.5rem;
37+
&:not(:last-child) {
38+
margin-bottom: 0.5rem;
39+
}
40+
&:last-child {
41+
margin-bottom: 0;
42+
}
3843
}
3944
}
4045

@@ -44,7 +49,7 @@
4449
}
4550

4651
&__content {
47-
padding: 0.5rem;
52+
padding: 0.25rem;
4853
overflow-x: auto;
4954
word-wrap: normal;
5055
p:last-child {

0 commit comments

Comments
 (0)