mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Also fix for wide (#5417)
This commit is contained in:
parent
4150ac045d
commit
45384205eb
@ -45,7 +45,8 @@ class HassTabsSubpage extends LitElement {
|
||||
activeTab: PageNavigation | undefined,
|
||||
showAdvanced: boolean | undefined,
|
||||
_components,
|
||||
_language
|
||||
_language,
|
||||
_narrow
|
||||
) => {
|
||||
const shownTabs = tabs.filter(
|
||||
(page) =>
|
||||
@ -101,7 +102,8 @@ class HassTabsSubpage extends LitElement {
|
||||
this._activeTab,
|
||||
this.hass.userData?.showAdvanced,
|
||||
this.hass.config.components,
|
||||
this.hass.language
|
||||
this.hass.language,
|
||||
this.narrow
|
||||
);
|
||||
|
||||
return html`
|
||||
@ -190,10 +192,8 @@ class HassTabsSubpage extends LitElement {
|
||||
}
|
||||
|
||||
#tabbar:not(.bottom-bar) {
|
||||
margin: auto;
|
||||
left: 50%;
|
||||
position: absolute;
|
||||
transform: translate(-50%, 0);
|
||||
flex: 1;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.tab {
|
||||
|
Loading…
x
Reference in New Issue
Block a user