Tabs: fix misplaced indicator
This commit is contained in:
parent
66b593add8
commit
0eef74f25f
4 changed files with 58 additions and 67 deletions
23
src/material/Tab.css
Normal file
23
src/material/Tab.css
Normal file
|
@ -0,0 +1,23 @@
|
|||
.Tab {
|
||||
cursor: pointer;
|
||||
background: none;
|
||||
border: none;
|
||||
height: 100%;
|
||||
max-width: min(calc(100% - 56px), 264px);
|
||||
padding: 10px 24px;
|
||||
font-size: 0.8135rem;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
transition: color 120ms var(--tutu-anim-curve-std);
|
||||
}
|
||||
|
||||
.MuiToolbar-root .Tab {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.focus,
|
||||
&.Tabs-focus {
|
||||
color: white;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue