[BUGFIX] Shortcut list now scrollable if containing more than 10 entries 99/44299/4
authorMichael Oehlhof <typo3@oehlhof.de>
Mon, 26 Oct 2015 17:53:47 +0000 (18:53 +0100)
committerFrank Nägler <frank.naegler@typo3.org>
Fri, 30 Oct 2015 11:04:57 +0000 (12:04 +0100)
Resolves: #71003
Releases: master
Change-Id: I5bca2df1f34937257aa6ed574fc0a0ac05466a5c
Reviewed-on: https://review.typo3.org/44299
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Michael Oehlhof <typo3@oehlhof.de>
Tested-by: Michael Oehlhof <typo3@oehlhof.de>
Reviewed-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Tested-by: Gernot Schulmeister <gernotschulmeister@gmx.at>
Reviewed-by: Frank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler <frank.naegler@typo3.org>
Build/Resources/Public/Less/TYPO3/_topbar.less
typo3/sysext/t3skin/Resources/Public/Css/backend.css

index 0fc871c..e5b22af 100644 (file)
                }
        }
 }
+
+// Bookmark dropdown menu
+#typo3-cms-backend-backend-toolbaritems-shortcuttoolbaritem {
+  .dropdown-list {
+       max-height: (10 * (18px + (@topbar-dropdown-padding / 2) + 1px)); // 18px=12px font with line-height 1.5; 1px margin-top for padding; 10 rows
+       overflow: hidden;
+       overflow-y: auto;
+       padding-right: 10px;
+  }
+}
index 7ded77a..36b98f7 100644 (file)
@@ -13333,6 +13333,12 @@ iframe {
 .typo3-topbar-navigation-search .dropdown-list-link .typeahead-highlight {
   font-weight: normal;
 }
+#typo3-cms-backend-backend-toolbaritems-shortcuttoolbaritem .dropdown-list {
+  max-height: 270px;
+  overflow: hidden;
+  overflow-y: auto;
+  padding-right: 10px;
+}
 #typo3-debug-console {
   background-color: #f5f5f5;
   width: 100%;