Skip to content

Commit c873f20

Browse files
committed
fix: extend .controls background to mask .plugin glow bleed
1 parent 81bc89e commit c873f20

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/pages/plugins/index.astro

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ const hasFeaturedPlugins = featured.length > 0;
6868
background-color: var(--bg);
6969
padding: 12px 0;
7070
z-index: 1;
71+
72+
// This extends the background out to block the glow from a .plugin that should appear covered
73+
--extra-side-width: 24px;
74+
margin-left: calc(-1 * var(--extra-side-width));
75+
margin-right: calc(-1 * var(--extra-side-width));
76+
padding-left: var(--extra-side-width);
77+
padding-right: var(--extra-side-width);
7178
}
7279

7380
.controls input,

0 commit comments

Comments
 (0)