From 68d599ed196296866461d82b25b62555822feb6e Mon Sep 17 00:00:00 2001 From: zadam Date: Fri, 20 Aug 2021 21:39:56 +0200 Subject: [PATCH] fix dynamic positioning --- src/public/stylesheets/style.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index cd120174d..cf6a1d6b4 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -164,16 +164,15 @@ div.ui-tooltip { visibility: hidden; } -.dropdown-menu kbd -{ +.dropdown-menu kbd { + float: right; color: var(--muted-text-color); border: none; background-color: transparent; box-shadow: none; -} - -.dropdown-menu kbd { - float: right; + /* 0 padding needed otherwise this increases the size of dropdown after dynamic positioning (which is then screwed) */ + padding-top: 0; + padding-bottom: 0; } .dropdown-item {