fix bookmark orientation clip

This commit is contained in:
zombieFox 2021-08-16 08:33:58 +01:00
parent d1112015b6
commit 20010c43f9
1 changed files with 2 additions and 2 deletions

View File

@ -634,7 +634,7 @@
} }
.is-bookmark-orientation-top .bookmark-back { .is-bookmark-orientation-top .bookmark-back {
clip-path: polygon(0 0, 100% 0, 100% calc(0% + calc(var(--bookmark-clip-padding) * 1em)), 0 calc(0% + calc(var(--bookmark-clip-padding) * 1em))); clip-path: polygon(0 0, 100% 0, 100% calc((var(--bookmark-clip-padding) * 1em)), 0 calc((var(--bookmark-clip-padding) * 1em)));
} }
.is-bookmark-orientation-bottom .bookmark-back { .is-bookmark-orientation-bottom .bookmark-back {
@ -642,7 +642,7 @@
} }
.is-bookmark-orientation-top.is-bookmark-line-show .bookmark-back { .is-bookmark-orientation-top.is-bookmark-line-show .bookmark-back {
clip-path: polygon(0 0, 100% 0, 100% calc(var(--layout-line-width) + calc(var(--bookmark-clip-padding) * 1em)), 0 calc(var(--layout-line-width) + calc(var(--bookmark-clip-padding) * 1em))); clip-path: polygon(0 0, 100% 0, 100% calc(var(--layout-line-width) + (var(--bookmark-clip-padding) * 1em)), 0 calc(var(--layout-line-width) + (var(--bookmark-clip-padding) * 1em)));
} }
.is-bookmark-orientation-bottom.is-bookmark-line-show .bookmark-back { .is-bookmark-orientation-bottom.is-bookmark-line-show .bookmark-back {