Fix margin for KuiLocalTabs which are applied to typographic elements. (#14451)

This commit is contained in:
CJ Cenizal 2017-10-12 16:05:10 -07:00
parent 77270cb063
commit 390ae79ab3
2 changed files with 12 additions and 0 deletions

View file

@ -7,6 +7,9 @@
height: 100%;
}
/**
* 1. Override inherited typographic styles.
*/
.kuiLocalTab {
padding: 5px 0 6px 0;
font-size: 18px;
@ -14,6 +17,8 @@
border-bottom: 2px solid transparent;
text-decoration: none;
cursor: pointer;
margin-top: 0 !important; /* 1 */
margin-bottom: 0 !important; /* 1 */
&:hover:not(.kuiLocalTab-isDisabled),
&:active:not(.kuiLocalTab-isDisabled) {

View file

@ -2253,6 +2253,9 @@ main {
align-items: flex-end;
height: 100%; }
/**
* 1. Override inherited typographic styles.
*/
.kuiLocalTab {
padding: 5px 0 6px 0;
font-size: 18px;
@ -2260,6 +2263,10 @@ main {
border-bottom: 2px solid transparent;
text-decoration: none;
cursor: pointer;
margin-top: 0 !important;
/* 1 */
margin-bottom: 0 !important;
/* 1 */
/**
* 1. We may want to show a tooltip to explain why the tab is disabled, so we will just show
* a regular cursor instead of setting pointer-events: none.