Image sizes
This commit is contained in:
parent
aaa9611b1c
commit
031d057811
5 changed files with 11 additions and 10 deletions
src/components/cards
|
@ -34,7 +34,9 @@ const loadedImage = plsLoadImage(images, imagePath)
|
|||
<style>
|
||||
.heading {
|
||||
display: flex;
|
||||
height: 2.5rem;
|
||||
height: fit-content;
|
||||
min-height: 2.5rem;
|
||||
line-height: 1.75rem;
|
||||
font-size: 24px;
|
||||
color: white;
|
||||
max-width: 200px;
|
||||
|
@ -51,8 +53,8 @@ const loadedImage = plsLoadImage(images, imagePath)
|
|||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
background-color: var(--c-darkergray);
|
||||
padding: 0em 0.5em;
|
||||
width: max(40%, 200px);
|
||||
padding: 0em 0.25em;
|
||||
width: max(40%, 128px);
|
||||
height: auto;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
@ -66,7 +68,7 @@ const loadedImage = plsLoadImage(images, imagePath)
|
|||
}
|
||||
|
||||
img {
|
||||
width: min(90%, 160px);
|
||||
width: min(90%, 100px);
|
||||
margin: 0px 0.5rem;
|
||||
height: auto;
|
||||
border-radius: 1rem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue