From a11427a43d24d0477033c236386fbf8bcc604b30 Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 30 Dec 2014 16:57:19 -0500 Subject: [PATCH] Fixed menu now fixed top by default --- RELEASE-NOTES.md | 3 +++ src/definitions/collections/menu.less | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 5a7f849ba..f2c50e40e 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -13,14 +13,17 @@ - **Progress** - Progress bars now display all intermediary percentage values when animating. Improved performance when progress bar is rapidly updated. - **Popup** - Popup now uses the new property ``min-width: max-content`` to allow for better display with ``inline`` in some circumstances where it escapes parent element. - **Table** - Table now has coupling with image to make sure size is preserved correctly with table sizing when used inside a table cell. +- **Menu** - ``ui fixed menu`` now defaults to ``ui top fixed menu`` **Bugs** - **Form** - Fixed (x) wide field not having correct bottom field margin when in ``fields`` group on tablet or mobile - **Tab** - Calls to global ``$.tab()`` would not pass arguments correctly - **Dropdown/Search** - Fixed issues with ``ui search`` and ``ui search dropdown`` using ``RegExp test`` which [advances pointer on match](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/test) causing results to display incorrectly - **Form** - ``ui input`` now receives the same formatting as a normal input inside an ``inline field`` +- **Grid** - Fix display of equal height stackable grid. Add padding to divided stackable grid for dividers - **Input** - Fixed bug when ``ui action input`` uses a ``ui icon button``, button was receiving `i.icon` formatting. - **List** - Fixed bug when using ``ui icon button`` or ``ui icon header`` causing element to receive icon formatting +- **Grid** - Fixed issues where negative margins on ``ui stackable grid`` could cause horizontal scroll bars on mobile - **Popup** - Popup destroy will now also destroy any unfired timers (show/hide delay) - **Popup** - Popup now moves to the same offset context to avoid positioning errors when using a named pre-existing popup. diff --git a/src/definitions/collections/menu.less b/src/definitions/collections/menu.less index bb8f68b4c..ed3098ced 100755 --- a/src/definitions/collections/menu.less +++ b/src/definitions/collections/menu.less @@ -1447,13 +1447,14 @@ border-radius: 0px !important; } -.ui.menu.fixed.top { +.ui.fixed.menu, +.ui.top.fixed.menu { top: 0px; left: 0px; right: auto; bottom: auto; } -.ui.menu.fixed.right { +.ui.right.fixed.menu { top: 0px; right: 0px; left: auto; @@ -1461,13 +1462,13 @@ width: auto; height: 100%; } -.ui.menu.fixed.bottom { +.ui.bottom.fixed.menu { bottom: 0px; left: 0px; top: auto; right: auto; } -.ui.menu.fixed.left { +.ui.left.fixed.menu { top: 0px; left: 0px; right: auto;