From 9f88c02ef3ef8fdeb7e8aa4096dfe87aad0ffd39 Mon Sep 17 00:00:00 2001 From: Deepak Paul Date: Thu, 25 Jan 2018 17:16:12 +0530 Subject: [PATCH] [ADF-2208] The width of the 'New Task' option is smaller then Create Task drop down (#2881) * Set width for menu and button --- lib/core/sidebar/sidebar-action-menu.component.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/core/sidebar/sidebar-action-menu.component.scss b/lib/core/sidebar/sidebar-action-menu.component.scss index 7a1716504c..3b7a47b59b 100644 --- a/lib/core/sidebar/sidebar-action-menu.component.scss +++ b/lib/core/sidebar/sidebar-action-menu.component.scss @@ -4,6 +4,7 @@ $foreground: map-get($theme, foreground); $adf-sidebar-action-menu-button-height: 37.5px; + $adf-sidebar-action-menu-button-width: 202px; $adf-sidebar-action-menu-button-border-radius: 4px; $adf-sidebar-action-menu-opacity: 0.54; $adf-sidebar-action-menu-item-opacity: 0.87; @@ -12,7 +13,7 @@ .adf { &-sidebar-action-menu { & .mat-raised-button { - width: 100%; + width: $adf-sidebar-action-menu-button-width; height: $adf-sidebar-action-menu-button-height; font-weight: bold; background-color: mat-color($primary); @@ -56,6 +57,7 @@ margin-top: 7.5px; border-radius: 2px; box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.26), 0 0 8px 0 rgba(0, 0, 0, 0.12); + min-width: $adf-sidebar-action-menu-button-width !important; } } } \ No newline at end of file