From a7c37733b8f741f220a32384732f2e30348f8d29 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 18 Apr 2019 21:22:37 +0100 Subject: [PATCH] Rebalance margins in validation tooltip --- res/css/views/elements/_Validation.scss | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/res/css/views/elements/_Validation.scss b/res/css/views/elements/_Validation.scss index f101f6cd26..4c059f9747 100644 --- a/res/css/views/elements/_Validation.scss +++ b/res/css/views/elements/_Validation.scss @@ -14,21 +14,25 @@ See the License for the specific language governing permissions and limitations under the License. */ -.mx_Validation_description { - margin-bottom: 1em; -} - .mx_Validation_details { padding-left: 20px; margin: 0; } +.mx_Validation_description + .mx_Validation_details { + margin: 1em 0 0; +} + .mx_Validation_detail { position: relative; font-weight: normal; list-style: none; margin-bottom: 0.5em; + &:last-child { + margin-bottom: 0; + } + &::before { content: ""; position: absolute;