mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 05:47:20 +00:00
Fix tabs styling (#9241)
This commit is contained in:
parent
a4bdc5a05f
commit
0a478ee1da
@ -117,10 +117,10 @@ export class HaTab extends LitElement {
|
||||
}
|
||||
|
||||
:host([narrow]) {
|
||||
padding: 0 16px;
|
||||
}
|
||||
:host([narrow]) div {
|
||||
padding: 0;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
@ -229,6 +229,10 @@ class HassTabsSubpage extends LitElement {
|
||||
color: var(--sidebar-text-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
:host([narrow]) .toolbar a {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
#tabbar {
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
@ -242,7 +246,7 @@ class HassTabsSubpage extends LitElement {
|
||||
box-sizing: border-box;
|
||||
background-color: var(--sidebar-background-color);
|
||||
border-top: 1px solid var(--divider-color);
|
||||
justify-content: space-between;
|
||||
justify-content: space-around;
|
||||
z-index: 2;
|
||||
font-size: 12px;
|
||||
width: 100%;
|
||||
@ -258,10 +262,6 @@ class HassTabsSubpage extends LitElement {
|
||||
min-width: 40px;
|
||||
}
|
||||
|
||||
ha-tab {
|
||||
display: block;
|
||||
}
|
||||
|
||||
ha-menu-button,
|
||||
ha-icon-button-arrow-prev,
|
||||
::slotted([slot="toolbar-icon"]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user