Skip to content

Commit abf1ba0

Browse files
committed
style(docs): add horizontal padding to navbar container for edge spacing
1 parent 4cf2dac commit abf1ba0

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

codeprism-docs/src/css/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,12 @@ a[href*="sponsor"]:hover {
338338
padding: 1rem 0;
339339
}
340340

341+
/* Add horizontal padding so brand and toggles are not flush to edges */
342+
.navbar .container {
343+
padding-left: var(--ifm-spacing-horizontal);
344+
padding-right: var(--ifm-spacing-horizontal);
345+
}
346+
341347
.navbar__brand {
342348
font-family: var(--ifm-font-family-base);
343349
font-weight: 600;

0 commit comments

Comments
 (0)