mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 03:06:14 -04:00
Fixes
- Grid - Transitions .switcher - theme-switcher.js - Hide examples
This commit is contained in:
parent
73237bdcd4
commit
c3f9d8d8c8
9 changed files with 18 additions and 26 deletions
13
css/pico.css
13
css/pico.css
|
@ -318,26 +318,21 @@ section {
|
|||
* Minimal grid system with auto-layout columns
|
||||
*/
|
||||
.grid {
|
||||
grid-column-gap: 1rem;
|
||||
grid-row-gap: 1rem;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.grid {
|
||||
grid-column-gap: 1rem;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(0%, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
.grid > * {
|
||||
min-width: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.grid > * {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue