From c06d952d167cfc2f0c5d183142f2764875f54eb4 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 18 Apr 2016 14:53:28 +0200 Subject: [PATCH] fix tokenfield spacing --- app/assets/stylesheets/zammad.scss | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/zammad.scss b/app/assets/stylesheets/zammad.scss index ac4904416..d2e0eaacd 100644 --- a/app/assets/stylesheets/zammad.scss +++ b/app/assets/stylesheets/zammad.scss @@ -1613,7 +1613,6 @@ textarea.form-control { } select.form-control:not([multiple]) { - padding-left: 10px; padding-right: 34px; word-wrap: normal; } @@ -5386,8 +5385,8 @@ footer { .tokenfield .token { padding: 0 0 0 10px; - margin: 0 5px 8px 0; - height: 26px; + margin: 0 5px 7px 0; + height: 25px; line-height: 27px; color: white; background: hsl(198,19%,72%); @@ -5399,17 +5398,22 @@ footer { .tokenfield .token-input { vertical-align: top; - margin: 2px 0 0 5px; - height: 25px; + padding: 0 10px 7px 0; + margin: 0; + height: 32px; display: inline-block; } + .tokenfield .token ~ .token-input { + padding: 0 5px 7px 0; + } + .tokenfield .token .token-label { padding: 0; } .tokenfield.form-control { - padding-top: 8px; + padding: 7px 7px 0; } .tokenfield .token .close {