From a2f64f1053bb1c31cebfb0ee7146070a0c4a8e4f Mon Sep 17 00:00:00 2001 From: gconsidine Date: Mon, 11 Dec 2017 11:47:21 -0500 Subject: [PATCH] Adjust style of toggle button to accommodate text that exceeds 42px --- awx/ui/client/src/scheduler/scheduleToggle.block.less | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/awx/ui/client/src/scheduler/scheduleToggle.block.less b/awx/ui/client/src/scheduler/scheduleToggle.block.less index 3cdb8f8f40..49bcc954f7 100644 --- a/awx/ui/client/src/scheduler/scheduleToggle.block.less +++ b/awx/ui/client/src/scheduler/scheduleToggle.block.less @@ -13,12 +13,10 @@ border-radius: 5px; border: 1px solid @default-link; background-color: @default-link; - width: 42px; margin-top: 2px; cursor: pointer; - display: flex; - height: 18px; - overflow: hidden; + display: inline-block; + min-width: 42px; &.ScheduleToggle--disabled { cursor: not-allowed; @@ -42,10 +40,11 @@ border-top-right-radius: 4px; border-bottom-right-radius: 4px; padding-top: 0px; - margin-top: 0px; border-top: 0px; border-bottom: 0px; border-right: 0px; + display: inline-block; + height: 22px; } .ScheduleToggle.is-on {