File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
src/panels/config/dashboard Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -386,12 +386,21 @@ class HaConfigDashboard extends SubscribeMixin(LitElement) {
386386 return [
387387 haStyle ,
388388 css `
389- ha-card : last-child {
390- margin-bottom : var (--safe-area-inset-bottom );
389+ : host {
390+ display : block;
391+ padding-bottom : var (--safe-area-inset-bottom , 0px );
392+ padding-right : var (--safe-area-inset-right , 0px );
391393 }
394+ @media (max-width : 600px ) {
395+ : host {
396+ padding-left : var (--safe-area-inset-left , 0px );
397+ }
398+ }
399+
392400 : host (: not ([narrow ])) ha- card: last- child {
393- margin-bottom : max (24px , var (--safe-area-inset-bottom ));
401+ margin-bottom : calc (24px + var (--safe-area-inset-bottom ));
394402 }
403+
395404 ha-config-section {
396405 margin : auto;
397406 margin-top : -32px ;
You can’t perform that action at this time.
0 commit comments