Template
Templates Nav/styles.css
From Dogcraft Wiki
m (Only move the sidenav index up when viewing the page - this effects mainly edit previews, where moving the sidenav up causes an overlap) |
mNo edit summary |
||
| Line 3: | Line 3: | ||
grid-template-columns: 260px 1fr; | grid-template-columns: 260px 1fr; | ||
align-items: start; | align-items: start; | ||
column-gap: | column-gap: .5rem; | ||
} | } | ||
Revision as of 17:51, 31 January 2026
.template-documentation {
display: grid;
grid-template-columns: 260px 1fr;
align-items: start;
column-gap: .5rem;
}
.templates-nav {
max-height: calc(100vh - 120px);
overflow-y: auto;
position: sticky;
top: 110px;
padding-top: .5rem;
}
body.action-view .templates-nav {
margin-top: -5rem;
}
@media only screen and (max-width: 999px) {
.templates-nav {
display: none;
}
.template-documentation-content {
grid-column: 1 / -1;
}
}
This page was last modified on 31 January 2026, at 17:51. (12 days ago)