mirror of
https://github.com/frainfreeze/the-monospace-web-pandoc
synced 2025-12-30 02:59:50 -08:00
Fix alignment js logic
This commit is contained in:
13
index.css
13
index.css
@@ -178,10 +178,8 @@ img, video {
|
||||
width: 100%;
|
||||
padding-bottom: calc(
|
||||
round(
|
||||
up,
|
||||
var(--line-height) - (
|
||||
var(--real-height) - round(down, var(--real-height), var(--line-height))
|
||||
),
|
||||
nearest,
|
||||
round(up, var(--real-height), var(--line-height)) - var(--real-height),
|
||||
1px
|
||||
)
|
||||
);
|
||||
@@ -226,6 +224,11 @@ li {
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
height: var(--line-height);
|
||||
}
|
||||
|
||||
|
||||
.tree, .tree ul {
|
||||
position: relative;
|
||||
padding-left: 0;
|
||||
@@ -282,6 +285,6 @@ li {
|
||||
/*display: none;*/
|
||||
}
|
||||
|
||||
body :not(.grid) {
|
||||
.off-grid {
|
||||
background: rgba(255, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user