fix: overflow & spacing issues

feat/type-attributes
Tomáš Mládek 2023-04-07 21:15:46 +02:00
parent eec91c7f6d
commit 2359304a86
1 changed files with 3 additions and 4 deletions

View File

@ -150,7 +150,7 @@
display: relative; display: relative;
flex-grow: 1; flex-grow: 1;
min-height: 2em; min-height: 0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
@ -168,8 +168,6 @@
justify-content: center; justify-content: center;
padding: 1%;
img { img {
max-width: 100%; max-width: 100%;
object-fit: contain; object-fit: contain;
@ -203,7 +201,8 @@
grid-template-columns: repeat(2, 1fr); grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr);
margin: 2px; padding: .25rem;
gap: .25rem;
border: 1px solid var(--foreground); border: 1px solid var(--foreground);
border-radius: 4px; border-radius: 4px;