From 1b08b9de4bcd04eb2750a494e7a1ea147fde5f24 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sat, 7 Oct 2017 20:15:10 +0200 Subject: [PATCH] Fix header-title alignment calculation, remove redundant style --- skins/elastic/styles/widgets/lists.less | 2 -- skins/elastic/styles/widgets/messages.less | 1 + skins/elastic/ui.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/skins/elastic/styles/widgets/lists.less b/skins/elastic/styles/widgets/lists.less index 90206b1c9..4975c3e87 100644 --- a/skins/elastic/styles/widgets/lists.less +++ b/skins/elastic/styles/widgets/lists.less @@ -14,7 +14,6 @@ .listing { tbody td, li { - display: block; border-bottom: 1px solid @color-list-border; cursor: default; font-weight: normal; @@ -99,7 +98,6 @@ table.listing { } ul.listing { - display: block; list-style: none; margin: 0; padding: 0; diff --git a/skins/elastic/styles/widgets/messages.less b/skins/elastic/styles/widgets/messages.less index 70ad49e1b..6fdc113cb 100644 --- a/skins/elastic/styles/widgets/messages.less +++ b/skins/elastic/styles/widgets/messages.less @@ -61,6 +61,7 @@ /* box-shadow: 1px 1px 2px @color-message-shadow; */ background-color: @color-message-background; display: flex; + align-items: center; @media screen and (max-width: @screen-width-xs) { margin-bottom: 0; diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index d7b9b7715..c1bc2b67b 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -926,7 +926,7 @@ function rcube_elastic_ui() } else { left = 0; - right = sizes.left - padding + sizes.right; + right = sizes.left - (padding + sizes.right); } $(title).css({