Moved some scripts to a utils folder

Renamed upload route to file as its more approprete
Fixed random CSS issues that occur on older browsers or Safari
This commit is contained in:
Michał Gdula 2023-03-14 22:07:17 +00:00
parent 9cfb8befd2
commit 3008a55899
19 changed files with 102 additions and 76 deletions

View file

@ -15,7 +15,7 @@
transition: opacity 0.2s ease
.pop-up__click-off
width: 100vw
width: 100%
height: 100vh
position: absolute
@ -52,7 +52,6 @@
width: 100%
height: auto
max-height: 50vh
display: flex
flex-direction: column
@ -151,12 +150,9 @@
left: 0
bottom: 0
backdrop-filter: blur(0.5rem)
.pop-up-wrapper
width: calc(100vw - 1rem)
max-height: calc(100vh - 1rem)
max-height: calc(100dvh - 1rem)
max-height: 99vh
left: 0.5rem
bottom: 0.5rem

View file

@ -3,6 +3,7 @@
padding: 0 0 0 3.5rem
width: 100%
height: 100%
height: 100dvh
position: fixed

View file

@ -3,6 +3,7 @@
padding: 0
width: 3.5rem
height: 100%
height: 100dvh
display: flex