Skip to content

Commit 5d32465

Browse files
committed
サイドバーの最適化 : inset
box-shadowをborderに置き換え
1 parent f52f747 commit 5d32465

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

css/kunai/site/sidebar.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@ main[role="main"] .kunai-sidebar.force-legacy {
173173
padding: 0;
174174

175175
$c: rgba(20, 20, 20, 0.1);
176-
box-shadow: 0px 6px 10px -6px $c inset, 0px -6px 10px -6px $c inset;
176+
/* box-shadow: 0px 6px 10px -6px $c inset, 0px -6px 10px -6px $c inset; GPUメモリ削減のため無効化 */
177+
border-top: 1px solid $c;
178+
border-bottom: 1px solid $c;
177179

178180
> ul.branch {
179181
display: flex;

0 commit comments

Comments
 (0)