[TASK] Better positioning of suggest result 34/52034/2
authorJosef Glatz <josefglatz@gmail.com>
Mon, 13 Mar 2017 16:30:49 +0000 (17:30 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 13 Mar 2017 20:47:18 +0000 (21:47 +0100)
The suggest result (which is used for autocomplete) within
the TYPO3 backend is now left aligned which is especially
useful, if the form element fills the entire width of the form.

Releases: master
Resolves: #80254
Change-Id: Id6e166272e2e9b2eb3562edb815bb6d053b7fbe8
Reviewed-on: https://review.typo3.org/52034
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Thomas Hohn <thomas@hohn.dk>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Build/Resources/Public/Less/Component/autocomplete.less
typo3/sysext/backend/Resources/Public/Css/backend.css
typo3/sysext/install/Resources/Public/Css/install.css

index dae3e88..82063fb 100644 (file)
@@ -25,7 +25,7 @@
        position: absolute;
        margin: 5px 0;
        top: 100%;
-       right: 0;
+       left: 0;
        border: 1px solid @autocomplete-border;
        border-radius: @autocomplete-border-radius;
        background-color: @autocomplete-results-bg;
index 5e91819..8b11190 100644 (file)
@@ -7821,7 +7821,7 @@ body {
   position: absolute;
   margin: 5px 0;
   top: 100%;
-  right: 0;
+  left: 0;
   border: 1px solid #ddd;
   border-radius: 2px;
   background-color: #fff;
index b35e0a8..167218c 100644 (file)
@@ -7810,7 +7810,7 @@ body {
   position: absolute;
   margin: 5px 0;
   top: 100%;
-  right: 0;
+  left: 0;
   border: 1px solid #ddd;
   border-radius: 2px;
   background-color: #fff;