-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(tabs): centered and adjusted vertical placement of css-only tab indicator #2141
Conversation
packages/mdc-tabs/tab/mdc-tab.scss
Outdated
@@ -95,10 +95,11 @@ $mdc-tab-with-icon-and-text-height: 72px; | |||
} | |||
|
|||
.mdc-tab__indicator { | |||
$mdc-tab-indicator-horizontal-padding: 2px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this is confusing. I could just inline these values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need this as a variable? If so, I think it should go next to the others on line 26.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Na we don't...I thought it might be clearer, but its not complicated math. I'll remove it
Codecov Report
@@ Coverage Diff @@
## master #2141 +/- ##
=======================================
Coverage 99.25% 99.25%
=======================================
Files 84 84
Lines 3768 3768
Branches 489 489
=======================================
Hits 3740 3740
Misses 28 28 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
fixes #2117