diff --git a/resources/assets/js/components/Mobile/Back.vue b/resources/assets/js/components/Mobile/Back.vue index 08bab6b86..01deebae4 100644 --- a/resources/assets/js/components/Mobile/Back.vue +++ b/resources/assets/js/components/Mobile/Back.vue @@ -1,5 +1,8 @@ diff --git a/resources/assets/sass/components/mobile.scss b/resources/assets/sass/components/mobile.scss index cd5032241..7ba2755d8 100644 --- a/resources/assets/sass/components/mobile.scss +++ b/resources/assets/sass/components/mobile.scss @@ -129,19 +129,31 @@ .mobile-back { display: none; - position: fixed; - top: 200px; - left: -50px; - width: 500px; - height: 500px; - background-color: rgba(0, 0, 0, 0.1); - z-index: 9999; - border-radius: 50%; - transform: translate(-460px, -50%); - transition: left 0.2s; - &.show-back { + .back-bar { + position: fixed; + top: 0; left: 0; + bottom: 0; + width: 20px; + z-index: 9998; + } + + .back-semicircle { + position: fixed; + top: 200px; + left: -50px; + width: 500px; + height: 500px; + background-color: rgba(0, 0, 0, 0.1); + z-index: 9999; + border-radius: 50%; + transform: translate(-460px, -50%); + transition: left 0.2s; + + &.show-back { + left: 0; + } } } diff --git a/resources/assets/sass/pages/components/dialog-wrapper.scss b/resources/assets/sass/pages/components/dialog-wrapper.scss index 64061e97c..b73d56427 100644 --- a/resources/assets/sass/pages/components/dialog-wrapper.scss +++ b/resources/assets/sass/pages/components/dialog-wrapper.scss @@ -931,15 +931,6 @@ } } -.dialog-wrapper-back { - position: fixed; - top: 0; - left: 0; - bottom: 0; - width: 20px; - z-index: 9998; -} - @media (max-width: 768px) { .dialog-wrapper { .dialog-nav {