From 838f255fc27249196dec0bdaa63660ab51f33567 Mon Sep 17 00:00:00 2001 From: Lynx Kotoura Date: Sun, 24 Sep 2017 04:06:16 +0900 Subject: [PATCH] Fix overflowing tabs in account__action-bar (#5056) * Fix numbers in accounts columns * Support edge compact-header --- app/javascript/styles/compact_header.scss | 2 +- app/javascript/styles/components.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/javascript/styles/compact_header.scss b/app/javascript/styles/compact_header.scss index cf12fcfec3..90d98cc8c5 100644 --- a/app/javascript/styles/compact_header.scss +++ b/app/javascript/styles/compact_header.scss @@ -6,7 +6,7 @@ font-weight: 500; margin-bottom: 20px; padding: 0 10px; - overflow-wrap: break-word; + word-wrap: break-word; @media screen and (max-width: 740px) { text-align: center; diff --git a/app/javascript/styles/components.scss b/app/javascript/styles/components.scss index 755c9eb358..965d106180 100644 --- a/app/javascript/styles/components.scss +++ b/app/javascript/styles/components.scss @@ -920,7 +920,7 @@ } .account__action-bar-dropdown { - flex: 1 1 auto; + flex: 0 1 calc(50% - 140px); padding: 10px; .dropdown--active { @@ -947,7 +947,7 @@ .account__action-bar__tab { text-decoration: none; overflow: hidden; - width: 80px; + flex: 0 1 80px; border-left: 1px solid lighten($ui-base-color, 8%); padding: 10px 5px;