Skip to content

Commit fb60399

Browse files
committed
Grid: Add spcing to header and content container
1 parent 941527e commit fb60399

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

assets/css/v2/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ ol li:last-child {
352352
.header {
353353
grid-area: header;
354354
display: flex;
355+
padding: 0 var(--space-s);
355356

356357
.header-container {
357358
display: flex;
@@ -394,7 +395,7 @@ ol li:last-child {
394395
.content {
395396
grid-area: content;
396397
justify-self: center;
397-
padding: var(--space-s);
398+
padding: 0 var(--space-l);
398399
max-width: var(--content-max-width);
399400

400401
/* Allow redocly to fill the entire container */

layouts/partials/header.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
{{ define "header" }}
2-
I am the header
2+
<div class="header-container">
3+
<div>Product Selector</div>
4+
<div>Search</div>
5+
<div>F5 Sites</div>
6+
</div>
37
{{ end }}

0 commit comments

Comments
 (0)