added space around in media, changed view for small screens
This commit is contained in:
parent
4ccf994595
commit
72a1d805bb
File diff suppressed because one or more lines are too long
|
@ -1,9 +1,26 @@
|
|||
@include breakpoint(small) {
|
||||
dl {
|
||||
.property {
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
dt {
|
||||
width: 14rem;
|
||||
max-width: 14rem;
|
||||
min-width: unset;
|
||||
max-width: unset;
|
||||
width: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@include breakpoint(medium) {
|
||||
dl {
|
||||
.property {
|
||||
display:flex;
|
||||
flex-direction:row;
|
||||
dt {
|
||||
min-width: 14rem;
|
||||
max-width: 14rem;
|
||||
width: 14rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -137,14 +137,25 @@
|
|||
|
||||
// -- Modules
|
||||
.media-list {
|
||||
width: 100%;
|
||||
.resource-link {
|
||||
width: auto;
|
||||
display:inline-block;
|
||||
> * {
|
||||
float: left;
|
||||
clear: both;
|
||||
@include breakpoint(small) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
.resource-link {
|
||||
width: auto;
|
||||
display:inline-block;
|
||||
padding-right: $global-padding;
|
||||
> * {
|
||||
float: left;
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
.resource-name {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
@include breakpoint(medium) {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue