mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
Use grid instead of column layout
This commit is contained in:
@@ -130,15 +130,14 @@ a code {
|
||||
|
||||
/* Column helpers */
|
||||
.two-column {
|
||||
column-count: 2;
|
||||
column-gap: 1rem;
|
||||
display: grid;
|
||||
grid-template-columns: 50% 50%;
|
||||
margin-left: -.5rem;
|
||||
margin-right: -.5rem;
|
||||
}
|
||||
|
||||
@media (max-width: 50rem) {
|
||||
.two-column {
|
||||
column-count: 1;
|
||||
column-gap: 0;
|
||||
}
|
||||
.two-column .column {
|
||||
padding: .5rem;
|
||||
}
|
||||
|
||||
/* Sizing examples */
|
||||
|
||||
Reference in New Issue
Block a user