Bit better nav centering
All checks were successful
Build and copy to prod / build-and-copy (push) Successful in 1m58s

This commit is contained in:
Lewis Dale 2024-04-10 12:39:04 +01:00
parent 4f0e396df3
commit acdab8b321
2 changed files with 2 additions and 3 deletions

View File

@ -4,10 +4,9 @@
padding: 0;
display: flex;
gap: var(--space-size-xs);
grid-column: auto/span 2;
/* grid-column: auto/span 2; */
justify-content: end;
width: 100%;
--grid-item-size: 20rem;
legend {
position:absolute;

View File

@ -154,7 +154,7 @@ nav {
header {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(var(--grid-item-size, 10rem), 1fr));
grid-template-columns: repeat(auto-fit, minmax(var(--grid-item-size, clamp(2rem, 10vw, 10rem)), 1fr));
grid-gap: 10px;
padding: var(--space-size-m);
place-items: center;