From ad259564c02d32a71d89177ce320975d8dddc9f9 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 14 May 2020 19:28:18 +0800 Subject: [PATCH] UX: last menu item renders off screen on desktop --- common/common.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/common/common.scss b/common/common.scss index babb32e..a10b2f5 100644 --- a/common/common.scss +++ b/common/common.scss @@ -54,6 +54,20 @@ $icon-opacity: 0.7; right: 0; } } + + @if $Invert_position == "true" { + &:last-child { + .d-header-dropdown { + left: unset; + right: 0; + + .rtl & { + right: unset; + left: 0; + } + } + } + } } .d-icon-caret-right {