fix images not shrinking on mobile
This commit is contained in:
parent
bd1e958207
commit
5254596ce5
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
@ -192,25 +192,28 @@ h3 {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 444px;
|
||||
height: 253.125px;
|
||||
max-width: 100%;
|
||||
vertical-align: middle;
|
||||
max-width: calc(min(450px,calc(100vw - 100px)));
|
||||
max-height: 253.125px;
|
||||
overflow: hidden;
|
||||
margin: 3px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.double-screenshot .thumbnail img {
|
||||
min-width: 450px;
|
||||
min-height: 253.125px;
|
||||
min-width: calc(min(450px,calc(100vw - 100px)));
|
||||
min-height: calc(min(450px,calc(100vw - 100px)) * 0.5625);
|
||||
}
|
||||
.double-screenshot .no-crop img {
|
||||
min-width: auto;
|
||||
max-width: 450px;
|
||||
max-width: calc(min(450px,calc(100vw - 100px)));
|
||||
min-height: auto;
|
||||
max-height: 253.125px;
|
||||
}
|
||||
|
||||
.project-image {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.project-image input {
|
||||
display: none;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user