From 9bf174b9a200876796746637e839c03a42afd216 Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 14 Feb 2020 22:47:28 +0300 Subject: [PATCH] feat(admin-plugin): update styles for tabs #211 --- site/plugins/admin/assets/src/modules/tabs.css | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/site/plugins/admin/assets/src/modules/tabs.css b/site/plugins/admin/assets/src/modules/tabs.css index 2f67ab71..6cc3868b 100644 --- a/site/plugins/admin/assets/src/modules/tabs.css +++ b/site/plugins/admin/assets/src/modules/tabs.css @@ -1,16 +1,16 @@ .tabs__nav > div { - @apply rounded; + @apply rounded border border-solid border-black text-white bg-dark cursor-pointer mb-6; } .tabs__nav > div a:first-of-type { - @apply rounded-t; + @apply rounded-l; } .tabs__nav > div a:last-of-type { - @apply rounded-b; + @apply rounded-r; } .tabs__content @@ -25,7 +25,10 @@ .tabs__nav__link { - @apply block text-white opacity-80 p-2 pl-4; + flex-basis: 0; + flex-grow: 1; + + @apply block text-white text-center opacity-80 py-2; } .tabs__nav__link:hover,