Summary Files Commits Branches @commit @diff @stats
path: root / src / tabs.less
diff options
context:
space:
mode:
1 files changed, 9 insertions, 2 deletions
-rw-r--r--src/tabs.less11
diff --git a/src/tabs.less b/src/tabs.less
index 1abfe75..c5af2b6 100644
--- a/src/tabs.less
+++ b/src/tabs.less
@@ -1,8 +1,11 @@
// Tabs
.tab {
align-items: center;
+ border-bottom: @border-width solid @border-color;
display: flex;
flex-wrap: wrap;
+ list-style: none;
+ margin: @unit-1 0 @unit-1 - @border-width 0;
.tab-item {
margin-top: 0;
@@ -16,8 +19,8 @@
border-bottom: @border-width-lg solid transparent;
color: inherit;
display: block;
- margin-top: 0;
- padding: 6px 12px 4px 12px;
+ margin: 0 @unit-2 0 0;
+ padding: @unit-2 @unit-1 @unit-2 - @border-width-lg @unit-1;
text-decoration: none;
&:focus,
&:hover {
@@ -36,6 +39,10 @@
flex: 1 0 0;
text-align: center;
+ a {
+ margin: 0;
+ }
+
.badge {
&[data-badge]::after {
position: absolute;