mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Fix margin for KuiLocalTabs which are applied to typographic elements. (#14451)
This commit is contained in:
parent
77270cb063
commit
390ae79ab3
2 changed files with 12 additions and 0 deletions
|
@ -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) {
|
||||
|
|
7
ui_framework/dist/ui_framework.css
vendored
7
ui_framework/dist/ui_framework.css
vendored
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue