From 5014aa3c5038f88673187874dfadb64eb5d5be6c Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 1 Jul 2022 13:31:32 +0100 Subject: [PATCH] Reply widget mobile: Move reply/cancel buttons up into empty space of "advanced" bar This reduces the overall vertical height of the tool Bug: T311836 Change-Id: I095bff00686a54779d45efa73c3f8b74ba016702 --- modules/dt.ui.ReplyWidget.less | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/dt.ui.ReplyWidget.less b/modules/dt.ui.ReplyWidget.less index f0dd26e9c..694173335 100644 --- a/modules/dt.ui.ReplyWidget.less +++ b/modules/dt.ui.ReplyWidget.less @@ -134,8 +134,17 @@ margin-bottom: 0.5em; margin-left: 3em; white-space: nowrap; + + .skin-minerva & { + margin-top: -2em; + } } + .skin-minerva &-advanced:not( .oo-ui-element-hidden ) + &-actionsWrapper &-actions { + margin-top: 0; + } + + // stylelint-disable-next-line no-descending-specificity &-footer { // Preferred width; if there isn't enough space, this wraps under the actions flex-basis: 20em;