mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Remove fixed heights, moving to masonry layout
This commit is contained in:
parent
89c381086b
commit
bc1a8953a1
1 changed files with 1 additions and 16 deletions
|
@ -43,6 +43,7 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
|
||||
h3 {
|
||||
color:@link-color;
|
||||
|
@ -52,11 +53,6 @@
|
|||
&.thumbnail-tag {
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
img {
|
||||
max-height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.caption {
|
||||
|
@ -70,25 +66,14 @@
|
|||
font-style: italic;
|
||||
padding: 5px 0;
|
||||
.text-overflow();
|
||||
|
||||
a {
|
||||
display: inline;
|
||||
}
|
||||
}
|
||||
|
||||
/* Media Queries */
|
||||
@media (max-width: @screen-md-min) {
|
||||
.thumbnail {
|
||||
height: 400px;
|
||||
width: 300px;
|
||||
|
||||
margin: 5% auto;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
.caption .description {
|
||||
padding: 5px 50px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue