Update components.css
This commit is contained in:
parent
8a9217fbba
commit
8341489003
1 changed files with 8 additions and 8 deletions
|
|
@ -45,18 +45,20 @@
|
|||
background-color: white;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
flex-direction: row;
|
||||
align-items: stretch;
|
||||
|
||||
& > div:first-child {
|
||||
width: 120px;
|
||||
flex-shrink: 0;
|
||||
aspect-ratio: 1 / 1;
|
||||
aspect-ratio: 4 / 3;
|
||||
background: var(--surface-container-highest);
|
||||
}
|
||||
|
||||
& > div:last-child {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
& img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
|
||||
.greener {
|
||||
|
|
@ -66,8 +68,6 @@
|
|||
& img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
scale: 1;
|
||||
transition: scale 0.7s;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue