From 274d22542b49c20eecf97c54511843274bfecfac Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 6 Dec 2024 19:44:09 +0400 Subject: [PATCH] Attachment Modal: Fix drop area padding and z-index (#5274) --- .../middle/composer/AttachmentModal.module.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/middle/composer/AttachmentModal.module.scss b/src/components/middle/composer/AttachmentModal.module.scss index 58dc220fd..1614b6a97 100644 --- a/src/components/middle/composer/AttachmentModal.module.scss +++ b/src/components/middle/composer/AttachmentModal.module.scss @@ -149,16 +149,16 @@ overflow: visible !important; position: absolute; - top: 0.5rem; + padding-top: 0.5rem; left: 0.5rem; width: calc(100% - 1rem); - height: calc(100% - 1rem); + height: calc(100% - 0.5rem); background-color: var(--color-background); opacity: 0; transition: opacity 0.2s; - z-index: 1; + z-index: 2; } .dropOutline { @@ -191,7 +191,7 @@ left: 50%; transform: translate(-50%, -50%); color: var(--color-primary); - z-index: 1; + z-index: 2; } .caption-wrapper,