mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
stop alt text on 404d thumbnail images from overflowing
This commit is contained in:
parent
c9c09329b7
commit
81c7f05e74
2 changed files with 12 additions and 2 deletions
|
@ -796,13 +796,18 @@ div.navbar {
|
|||
}
|
||||
.post_list .post_teaser .thumbnail {
|
||||
text-align: center;
|
||||
height: 100%;
|
||||
align-content: center;
|
||||
display: flex;
|
||||
height: 60px;
|
||||
width: 60px;
|
||||
overflow: hidden;
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.post_list .post_teaser .thumbnail {
|
||||
align-items: center;
|
||||
height: 90px;
|
||||
width: 170px;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
.post_list .post_teaser .thumbnail a {
|
||||
|
|
|
@ -382,11 +382,16 @@ div.navbar {
|
|||
.thumbnail {
|
||||
|
||||
text-align: center;
|
||||
height: 100%;
|
||||
align-content: center;
|
||||
display: flex;
|
||||
height: 60px;
|
||||
width: 60px;
|
||||
overflow: hidden;
|
||||
@include breakpoint(tablet) {
|
||||
align-items: center;
|
||||
height: 90px;
|
||||
width: 170px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
a {
|
||||
|
|
Loading…
Add table
Reference in a new issue