Make links horizontal on desktop, vertical on mobile
This commit is contained in:
parent
f81d0990b5
commit
05e706b35e
1 changed files with 5 additions and 0 deletions
|
|
@ -38,6 +38,11 @@
|
|||
grid-template-columns: 1fr;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
article nav ul {
|
||||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue