diff --git a/resources/js/components/FilesView/Alert.vue b/resources/js/components/FilesView/Alert.vue index 730cfe4e..bbe656af 100644 --- a/resources/js/components/FilesView/Alert.vue +++ b/resources/js/components/FilesView/Alert.vue @@ -150,8 +150,7 @@ } } - // Small screen size - .small { + @media only screen and (max-width: 690px) { .popup-wrapper { padding: 40px 20px 20px; left: 15px; @@ -160,11 +159,9 @@ } @media (prefers-color-scheme: dark) { - .popup-wrapper { background: $dark_mode_background; } - .popup-content { .title { color: $dark_mode_text_primary; diff --git a/resources/js/components/Others/Popup/PopupActions.vue b/resources/js/components/Others/Popup/PopupActions.vue index b60269f5..d04701e9 100644 --- a/resources/js/components/Others/Popup/PopupActions.vue +++ b/resources/js/components/Others/Popup/PopupActions.vue @@ -25,7 +25,7 @@ } } - .small { + @media only screen and (max-width: 690px) { .actions { padding: 15px; position: absolute; @@ -34,8 +34,4 @@ right: 0; } } - - @media (prefers-color-scheme: dark) { - - } diff --git a/resources/js/components/Others/Popup/PopupContent.vue b/resources/js/components/Others/Popup/PopupContent.vue index c0ba3e8c..e9373bfc 100644 --- a/resources/js/components/Others/Popup/PopupContent.vue +++ b/resources/js/components/Others/Popup/PopupContent.vue @@ -18,15 +18,13 @@ @import '@assets/vue-file-manager/_mixins'; .popup-content { - &.height-limited { height: 400px; overflow-y: auto; } } - .small { - + @media only screen and (max-width: 690px) { .popup-content { top: 57px; bottom: 72px; @@ -37,10 +35,6 @@ } } - @media (prefers-color-scheme: dark) { - - } - @keyframes popup-in { 0% { opacity: 0; diff --git a/resources/js/components/Others/Popup/PopupHeader.vue b/resources/js/components/Others/Popup/PopupHeader.vue index 541170af..c4910c12 100644 --- a/resources/js/components/Others/Popup/PopupHeader.vue +++ b/resources/js/components/Others/Popup/PopupHeader.vue @@ -12,7 +12,7 @@