Skip to content

Commit ad0647b

Browse files
committed
Fix collapsed rendering of overview view in Safari
1 parent b2d9df1 commit ad0647b

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

src/templates/bespoke/bespoke.scss

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -509,20 +509,33 @@ $progress-height: 5px;
509509
--bov-focus: #161616;
510510
--bov-focus-outline: transparent;
511511

512-
box-shadow:
513-
0 0 0 1px #161616,
514-
0 0 0 3px var(--bov-focus),
515-
0 0 0 4px var(--bov-focus-outline),
516-
0 0 0 6px var(--bov-selected);
512+
margin: -6px;
513+
padding: 6px;
514+
background-image:
515+
conic-gradient(#161616 0 0), conic-gradient(var(--bov-focus) 0 0),
516+
conic-gradient(var(--bov-focus-outline) 0 0),
517+
conic-gradient(var(--bov-selected) 0 0);
518+
background-repeat: no-repeat;
519+
background-size:
520+
calc(100% - 10px) calc(100% - 10px),
521+
calc(100% - 6px) calc(100% - 6px),
522+
calc(100% - 4px) calc(100% - 4px),
523+
100% 100%;
524+
background-position:
525+
5px 5px,
526+
3px 3px,
527+
2px 2px,
528+
0 0;
529+
filter: drop-shadow(0 3px 10px rgba(#000, 0.5));
517530
content-visibility: visible;
518531
cursor: pointer;
519-
filter: drop-shadow(0 3px 10px rgba(#000, 0.5));
520532
interactivity: auto;
521533
opacity: 1;
522534
outline: 0;
523535
pointer-events: auto;
524536
scroll-margin-block: 30px;
525537
z-index: 0;
538+
width: 100%;
526539

527540
&,
528541
&.bespoke-marp-active {

0 commit comments

Comments
 (0)