Skip to content

Commit 79ef587

Browse files
author
Lukas Nys
committed
style: add padding around sidebar and content (ember-learn#879)
1 parent 91546e3 commit 79ef587

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

app/styles/app.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,21 @@ main a.edit-icon {
2626
background: none;
2727
}
2828

29+
@media (min-width: 845px) {
30+
.es-sidebar {
31+
padding: var(--spacing-4);
32+
background-color: var(--color-gray-200);
33+
}
34+
}
35+
36+
.es-sidebar-content .table-of-contents:first-child {
37+
margin-block-start: 0;
38+
}
39+
40+
.content {
41+
margin-top: var(--spacing-4);
42+
}
43+
2944
.table-of-contents {
3045
list-style-type: none;
3146
padding-left: 0;

0 commit comments

Comments
 (0)