fix: styling

This commit is contained in:
eugene 2024-08-14 16:34:20 +03:00
parent d41d577c29
commit 2f29ea9f35
3 changed files with 8 additions and 6 deletions

View File

@ -51,6 +51,13 @@
position: relative; position: relative;
user-select: none; user-select: none;
margin-bottom: 10px; margin-bottom: 10px;
> img {
display: block;
max-width: 100%;
max-height: 100%;
object-fit: contain; /* Ensure the image fits within the container */
}
&.drawing { &.drawing {
cursor: crosshair; cursor: crosshair;

View File

@ -23,8 +23,6 @@ ul {
.wrap { .wrap {
position: sticky;
top: 15px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
grid-gap: 15px; grid-gap: 15px;
@ -56,10 +54,6 @@ ul {
cursor: grab; cursor: grab;
} }
.wrap {
margin-top: 5px;
}
.fileItem { .fileItem {
transition: ease 0.2s; transition: ease 0.2s;
display: flex; display: flex;

View File

@ -7,6 +7,7 @@
right: 0; right: 0;
left: 0; left: 0;
align-items: center; align-items: center;
z-index: 1000;
} }
.actions { .actions {