Browse Source

[fix] position of engine description tooltip

MrPaulBlack 3 years ago
parent
commit
57f58f85bd
1 changed files with 5 additions and 1 deletions
  1. 5 1
      searx/static/themes/simple/src/less/preferences.less

+ 5 - 1
searx/static/themes/simple/src/less/preferences.less

@@ -112,7 +112,7 @@
   th.name {
   th.name {
     .engine-tooltip {
     .engine-tooltip {
       margin-top: 1.8rem;
       margin-top: 1.8rem;
-      left: 20rem;
+      left: calc((100% - 85em) / 2 + 10em);
       max-width: 40rem;
       max-width: 40rem;
 
 
       .engine-description {
       .engine-description {
@@ -126,4 +126,8 @@
   .preferences_back {
   .preferences_back {
     clear: both;
     clear: both;
   }
   }
+
+  .engine-tooltip {
+    left: 10em !important;
+  }
 }
 }