Images not cropping
This commit is contained in:
parent
c021498808
commit
18de453ac1
3 changed files with 14 additions and 12 deletions
17
styles.css
17
styles.css
|
|
@ -231,11 +231,16 @@ textarea:focus {
|
|||
}
|
||||
|
||||
.route-image {
|
||||
min-height: 130px;
|
||||
background-color: color-mix(in srgb, var(--border) 45%, transparent);
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: color-mix(in srgb, var(--border) 45%, transparent);
|
||||
}
|
||||
|
||||
.route-picture {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.route-content {
|
||||
|
|
@ -398,7 +403,7 @@ textarea:focus {
|
|||
}
|
||||
|
||||
.route-image {
|
||||
min-height: 100%;
|
||||
align-self: start;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue