Template

Templates Nav/styles.css

From Dogcraft Wiki

mNo edit summary
m (Only move the sidenav index up when viewing the page - this effects mainly edit previews, where moving the sidenav up causes an overlap)
Line 12: Line 12:
top: 110px;  
top: 110px;  
padding-top: .5rem;
padding-top: .5rem;
}
body.action-view .templates-nav {
margin-top: -5rem;
margin-top: -5rem;
}
}

Revision as of 17:10, 31 January 2026

.template-documentation {
	display: grid; 
	grid-template-columns: 260px 1fr; 
	align-items: start; 
	column-gap: 4px;
}

.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:10. (12 days ago)