Skip to content

Commit fe79e93

Browse files
committed
style(docs): square corners on search bar and sidebar controls
1 parent c3405b7 commit fe79e93

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

website/src/styles/docs.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,3 +170,29 @@ body::before {
170170
border-radius: 0;
171171
border-left-width: 2px;
172172
}
173+
174+
/* Force every Starlight chrome element to sharp corners. */
175+
:where(
176+
button,
177+
input,
178+
select,
179+
textarea,
180+
kbd,
181+
.sl-link-button,
182+
[class*='Search'],
183+
[class*='search'],
184+
site-search button,
185+
.sl-flex,
186+
starlight-menu-button,
187+
starlight-menu-button button,
188+
.sidebar-pane a,
189+
.sidebar-pane button,
190+
.sidebar-pane summary,
191+
.top-level a,
192+
.top-level button,
193+
.pagefind-ui *,
194+
.DocSearch,
195+
.DocSearch *
196+
) {
197+
border-radius: 0 !important;
198+
}

0 commit comments

Comments
 (0)