mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-30 10:58:23 -05:00
Merge pull request #2116 from LiFaytheGoblin/responsive-project-page/thumbnailcolumns
Thumbnailcolumns appear at bottom on mobile
This commit is contained in:
commit
3010db684d
2 changed files with 16 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
||||||
float: left;
|
float: left;
|
||||||
max-width: 164px;
|
max-width: 164px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
.thumbnail-creator a {
|
.thumbnail-creator a {
|
||||||
color: $type-gray;
|
color: $type-gray;
|
||||||
|
|
|
@ -542,6 +542,21 @@ $medium-and-small: "screen and (max-width : #{$tablet}-1)";
|
||||||
.thumbnail-column {
|
.thumbnail-column {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
|
/* TODO: the following can be transferred to
|
||||||
|
src/components/thumbnailcolumn/thumbnailcolumn.scss
|
||||||
|
after testing */
|
||||||
|
@media #{$medium-and-small} {
|
||||||
|
flex-direction: row;
|
||||||
|
|
||||||
|
.thumbnail {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media #{$medium-and-small} {
|
||||||
|
margin-top: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue