Browse Source

[fix] backtotop and pagination on image result page

MrPaulBlack 3 years ago
parent
commit
f81afed60b
1 changed files with 11 additions and 2 deletions
  1. 11 2
      searx/static/themes/simple/src/less/style.less

+ 11 - 2
searx/static/themes/simple/src/less/style.less

@@ -684,7 +684,7 @@ article.result-images[data-vim-selected]::before {
   }
 
   #pagination {
-    margin-top: 2rem;
+    margin: 2rem 0 0 0 !important;
   }
 
   #main_results div#results {
@@ -723,6 +723,15 @@ article.result-images[data-vim-selected]::before {
     width: inherit;
     margin: 0;
   }
+
+  #backToTop {
+    left: auto;
+    right: 2rem;
+  }
+
+  #pagination {
+    margin-right: 4rem;
+  }
 }
 
 @media screen and (max-width: 50em) {
@@ -758,7 +767,7 @@ article.result-images[data-vim-selected]::before {
   }
 
   #pagination {
-    margin: 2rem 1rem 0 1rem;
+    margin: 2rem 1rem 0 1rem !important;
   }
 
   .result {