Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

fix(tabs): update min-width to follow the spec #11438

Merged
merged 1 commit into from
Jun 30, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/components/tabs/tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,14 @@ md-pagination-wrapper {
position: relative;
justify-content: center;
}
md-tab-item {
min-width: 72px;
}
@media (min-width: $layout-breakpoint-xs) {
md-tab-item {
min-width: 160px;
}
}
}

md-tabs-content-wrapper {
Expand Down Expand Up @@ -259,7 +267,7 @@ md-tab {
font-size: 14px;
text-align: center;
line-height: $tabs-header-height - 24;
padding: 12px 24px;
padding: 12px;
transition: background-color 0.35s $swift-ease-in-out-timing-function;
cursor: pointer;
white-space: nowrap;
Expand Down