added space around in media, changed view for small screens

This commit is contained in:
jorge 2022-03-01 14:23:38 +01:00
parent 4ccf994595
commit 72a1d805bb
3 changed files with 38 additions and 10 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,26 @@
@include breakpoint(small) {
dl { dl {
.property { .property {
display:flex; display:flex;
flex-direction:column;
dt { dt {
width: 14rem; min-width: unset;
max-width: 14rem; max-width: unset;
width: unset;
} }
} }
} }
}
@include breakpoint(medium) {
dl {
.property {
display:flex;
flex-direction:row;
dt {
min-width: 14rem;
max-width: 14rem;
width: 14rem;
}
}
}
}

View File

@ -137,14 +137,25 @@
// -- Modules // -- Modules
.media-list { .media-list {
width: 100%; @include breakpoint(small) {
.resource-link { display: flex;
width: auto; flex-direction: column;
display:inline-block; width: 100%;
> * { .resource-link {
float: left; width: auto;
clear: both; display:inline-block;
padding-right: $global-padding;
> * {
float: left;
clear: both;
}
} }
.resource-name {
font-size: 0.8rem;
}
}
@include breakpoint(medium) {
flex-direction: row;
} }
} }