diff --git a/custom_components/ui_lovelace_minimalist/lovelace/themefiles/minimalist-ios-tapbar/minimalist-ios-tapbar.yaml b/custom_components/ui_lovelace_minimalist/lovelace/themefiles/minimalist-ios-tapbar/minimalist-ios-tapbar.yaml index d838977dd..f49ac513d 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/themefiles/minimalist-ios-tapbar/minimalist-ios-tapbar.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/themefiles/minimalist-ios-tapbar/minimalist-ios-tapbar.yaml @@ -42,9 +42,9 @@ minimalist-ios-tapbar: div#view{ transform: initial; padding: 0 !important; - position: fixed !important; margin: 0 !important; width: 100%; + padding-bottom: var(--header-height) !important; } .header { top: auto !important; @@ -58,8 +58,7 @@ minimalist-ios-tapbar: background: var( --ha-card-background, var(--card-background-color) ); } #view { - margin-top: calc(-1 * var(--header-height)) !important; - padding-bottom: var(--header-height) !important; + padding-top: calc(-1 * var(--header-height)) !important; } ha-tabs { --paper-tabs-selection-bar-color: var(--header-tab-indicator-color) !important; diff --git a/custom_components/ui_lovelace_minimalist/lovelace/themefiles/minimalist-mobile-tapbar/minimalist-mobile-tapbar.yaml b/custom_components/ui_lovelace_minimalist/lovelace/themefiles/minimalist-mobile-tapbar/minimalist-mobile-tapbar.yaml index c5c45fd6d..615368a27 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/themefiles/minimalist-mobile-tapbar/minimalist-mobile-tapbar.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/themefiles/minimalist-mobile-tapbar/minimalist-mobile-tapbar.yaml @@ -36,9 +36,9 @@ minimalist-mobile-tapbar: div#view{ transform: initial; padding: 0 !important; - position: fixed !important; margin: 0 !important; width: 100%; + padding-bottom: var(--header-height) !important; } .header { top: auto !important; @@ -51,8 +51,7 @@ minimalist-mobile-tapbar: padding-bottom: env(safe-area-inset-bottom) !important; } #view { - margin-top: calc(-1 * var(--header-height)) !important; - padding-bottom: var(--header-height); + padding-top: calc(-1 * var(--header-height)) !important; } ha-tabs { --paper-tabs-selection-bar-color: var(--header-tab-indicator-color); diff --git a/custom_components/ui_lovelace_minimalist/lovelace/themefiles/minimalist-mobile/minimalist-mobile.yaml b/custom_components/ui_lovelace_minimalist/lovelace/themefiles/minimalist-mobile/minimalist-mobile.yaml index 2d1abd6b8..5ccabe70f 100644 --- a/custom_components/ui_lovelace_minimalist/lovelace/themefiles/minimalist-mobile/minimalist-mobile.yaml +++ b/custom_components/ui_lovelace_minimalist/lovelace/themefiles/minimalist-mobile/minimalist-mobile.yaml @@ -19,7 +19,7 @@ minimalist-mobile: display: none; } #view { - margin: 0 !important; + padding: 0 !important; height: 100vh !important; } card-mod-view-yaml: | diff --git a/hacs.json b/hacs.json index aeb3bb3de..02dd6ec15 100644 --- a/hacs.json +++ b/hacs.json @@ -1,7 +1,7 @@ { "name": "UI Lovelace Minimalist", "render_readme": true, - "homeassistant": "2023.4.3", + "homeassistant": "2023.5.0", "zip_release": true, "filename": "ui_lovelace_minimalist.zip" }