Browse Source

Add flex-wrap to the list of engines

ahmad-alkadri 2 years ago
parent
commit
db70c262c3
2 changed files with 7 additions and 0 deletions
  1. 1 0
      AUTHORS.rst
  2. 6 0
      searx/static/themes/simple/src/less/style.less

+ 1 - 0
AUTHORS.rst

@@ -165,3 +165,4 @@ features or generally made searx better:
 - Paul Alcock @Guilvareux
 - Paul Alcock @Guilvareux
 - Sam A. `<https://samsapti.dev>`_
 - Sam A. `<https://samsapti.dev>`_
 - @XavierHorwood
 - @XavierHorwood
+- Ahmad Alkadri `<https://github.com/ahmad-alkadri>`_

+ 6 - 0
searx/static/themes/simple/src/less/style.less

@@ -403,6 +403,9 @@ article[data-vim-selected].category-social {
 
 
 .engines {
 .engines {
   .ltr-float-right();
   .ltr-float-right();
+  display: flex;
+  flex-wrap: wrap;
+  justify-content: flex-end;
   color: var(--color-result-engines-font);
   color: var(--color-result-engines-font);
 
 
   span {
   span {
@@ -834,6 +837,9 @@ article[data-vim-selected].category-social {
 
 
     .engines {
     .engines {
       .ltr-float-right();
       .ltr-float-right();
+      display: flex;
+      flex-wrap: wrap;
+      justify-content: flex-end;
       padding: 0 0 3px 0;
       padding: 0 0 3px 0;
     }
     }
   }
   }