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,