From 7e541e591bb64ff1b44e662caac6ed6ca93ab500 Mon Sep 17 00:00:00 2001 From: hatuhay <hatuhay@827704.no-reply.drupal.org> Date: Mon, 17 Aug 2020 08:41:36 -0500 Subject: [PATCH] Improve tabs styles --- css/components/tabs.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/css/components/tabs.css b/css/components/tabs.css index bf955a0..d8c2179 100644 --- a/css/components/tabs.css +++ b/css/components/tabs.css @@ -6,3 +6,21 @@ nav.tabs { margin-bottom: 20px; } + +nav.tabs ul { + background: #e9ecef; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; +} +nav.tabs ul .nav-item { + flex-grow: 1; +} +nav.tabs ul .nav-item a { + color: #e9ecef; + text-align: center; +} +nav.tabs ul .nav-item.active a { + background: #303030; +} -- GitLab