diff --git a/frontend/src/components/Search.vue b/frontend/src/components/Search.vue index 18d3c592..3f7120a9 100644 --- a/frontend/src/components/Search.vue +++ b/frontend/src/components/Search.vue @@ -143,10 +143,10 @@ } #result-desktop #result-list { - width: 100%; -webkit-transition: width 0.3s ease 0s; transition: width 0.3s ease 0s; - overflow: auto; + max-width: 100%; + width: 30em; padding-top: 0em; border-width: 1px; border-style: solid; @@ -166,12 +166,15 @@ -webkit-box-shadow: 0px 2em 50px 10px rgba(0, 0, 0, 0.3); box-shadow: 0px 2em 50px 10px rgba(0, 0, 0, 0.3); background-color: lightgray; + margin-top: 0; + padding-top: 1em; + overflow: auto; } #result-desktop { animation: SlideDown 0.5s forwards; - border-radius: 1em; - + border-radius: 1m; + overflow: hidden; } #search.active #result-desktop ul li a { @@ -181,6 +184,11 @@ margin-right: .3em; } +#result-list.active { + width: 65em !important; + max-width: 85vw !important; +} + /* Animations */ @keyframes SlideDown { 0% { @@ -196,11 +204,9 @@ /* Search */ #search { - flex-basis: auto; - width: 100%; + min-width: 35em; height: 3em; - display: flex; - flex-direction: column; + display: block; } #search #input { @@ -256,6 +262,7 @@ padding-top: 1em; overflow: hidden; background: white; + display: flex; top: -4em; flex-direction: column; align-items: center; @@ -306,9 +313,7 @@ body.rtl #search #result ul>* { #search.ongoing #renew { display: block; } -#search.active { - width: 80%; -} + #search.active #input { border-bottom-left-radius: 1px; background-color: lightgray; diff --git a/frontend/src/css/mobile.css b/frontend/src/css/mobile.css index f9aa50f4..095dbecc 100644 --- a/frontend/src/css/mobile.css +++ b/frontend/src/css/mobile.css @@ -54,26 +54,16 @@ } #search { min-width: unset; - max-width: 60% - } - - #search .boxes { - text-align: center; - width: 100%; - padding: 1em; - padding-top: 0; - max-width: 30em; - margin:auto; - + max-width: 60%; } #search.active { - min-width: 100%; display: block; position: fixed; top: 0; left: 0; width: 100%; + max-width: 100%; } #search.active #input { @@ -110,15 +100,16 @@ margin-right: 0.3em; user-select: none; } - #result { - overflow:scroll - } + #result-list { width:100%; left: 0; top: 4em; + -webkit-box-direction: normal; + -ms-flex-direction: column; overflow: scroll; - display: contents; + display: flex; + flex-direction: column; } } diff --git a/frontend/src/views/Layout.vue b/frontend/src/views/Layout.vue index cdd308ff..c59a97fc 100644 --- a/frontend/src/views/Layout.vue +++ b/frontend/src/views/Layout.vue @@ -3,7 +3,7 @@
- {{ $t("files.name") }} - {{ nameIcon }} -
- -- {{ $t("files.size") }} - {{ sizeIcon }} -
-- {{ $t("files.lastModified") }} - {{ modifiedIcon }} -
-{{ $t("files.multipleSelectionEnabled") }}
-