Skip to content

Commit

Permalink
Fix for added border-lines in HA 2022.11
Browse files Browse the repository at this point in the history
  • Loading branch information
basbruss committed Oct 28, 2022
1 parent aa18d92 commit b1033fd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ minimalist-desktop:
divider-color: "rgba(var(--color-theme),.12)"
accent-color: "var(--google-yellow)"
ha-dialog-border-radius: "10px"
# fix added border-lines in 2022.11
ha-card-border-width: "0px"

card-mod-theme: "minimalist-desktop"
card-mod-view-yaml: |
"*:first-child$": |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ minimalist-ios-tapbar:
divider-color: "rgba(var(--color-theme),.12)"
accent-color: "var(--google-yellow)"
ha-dialog-border-radius: "10px"
# fix added border-lines in 2022.11
ha-card-border-width: "0px"

card-mod-theme: "minimalist-ios-tapbar"
card-mod-root: |
app-toolbar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ minimalist-mobile-tapbar:
header-base-height: "70px"
app-header-selection-bar-color: "transparent"
ha-dialog-border-radius: "10px"
# fix added border-lines in 2022.11
ha-card-border-width: "0px"

card-mod-view-yaml: |
"*:first-child$": |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ minimalist-mobile:
divider-color: "rgba(var(--color-theme),.12)"
accent-color: "var(--google-yellow)"
ha-dialog-border-radius: "10px"
# fix added border-lines in 2022.11
ha-card-border-width: "0px"

card-mod-theme: "minimalist-mobile"
card-mod-root: |
app-toolbar {
Expand Down

2 comments on commit b1033fd

@Drealine
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems the problem still appear after update minimalist to v1.1.6-hotfix
Debuging CSS and it seems that in :host css, border-style is set to solid.

image

@basbruss
Copy link
Collaborator Author

@basbruss basbruss commented on b1033fd Nov 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Drealine have you also checked if by clicking on --ha-card-border-width that the assigned value is set to 0px?
image
If not, the border-width is defined by the default value. This can be related to caching issues or not correctly (re-)applying the theme.

Please sign in to comment.