Skip to content

Commit

Permalink
Merge pull request #996 from basbruss/dev-release
Browse files Browse the repository at this point in the history
Add word-break to vertical popup buttons
  • Loading branch information
basbruss authored Sep 16, 2022
2 parents 0eea659 + 9a5be57 commit ec40798
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ popup_button:
- box-shadow: "none"
- border-radius: "none"
- padding: "12px"
- overflow: "visible"
icon:
- color: "var(--primary-color)"
img_cell:
Expand All @@ -28,4 +27,6 @@ popup_button:
- font-weight: "bold"
- font-size: "14px"
- margin-top: "12px"
- overflow: "visible"
- white-space: "initial"
- text-overflow: "initial"
- overflow: "initial"
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ popup_light_brightness:
styles:
card:
- background: "none"
- overflow: "visible"
- margin-left: >
[[[
var color_temp_modes = ["color_temp"];
Expand All @@ -229,6 +228,7 @@ popup_light_brightness:
return "6px";
]]]
grid:
- align-items: "initial"
- grid-template-areas: >
[[[
var areas = [];
Expand Down Expand Up @@ -281,7 +281,6 @@ popup_light_brightness:
- "popup_button_color_temp"
styles:
card:
- overflow: "visible"
- display: >
[[[
var color_temp_modes = ["color_temp"];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ popup_light_color_temp:
type: "custom:button-card"
template: "list_3_items"
styles:
grid:
- align-items: "initial"
card:
- background: "none"
- overflow: "visible"
- margin-left: >
[[[
var color_temp_modes = ["color_temp"];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ popup_power_outlet_history:
styles:
card:
- background: "none"
grid:
- align-items: "initial"
custom_fields:
item1:
card:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ popup_power_outlet_stats:
styles:
card:
- background: "none"
grid:
- align-items: "initial"
custom_fields:
item1:
card:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ popup_weather_forecast:
styles:
card:
- background: "none"
grid:
- align-items: "initial"
custom_fields:
item1:
card:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ popup_weather_radar:
styles:
card:
- background: "none"
grid:
- align-items: "initial"
custom_fields:
item1:
card:
Expand Down

0 comments on commit ec40798

Please sign in to comment.