Skip to content

Commit

Permalink
fixup! Fix area card CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-V committed Jul 14, 2024
1 parent 02f6bfa commit 5475e28
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions dashboards/cards/area.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -150,34 +150,35 @@

type: picture-elements
image: {{ image | default('/local/rooms/placeholder.webp') }}
style: |
.element[class~=element] {
position: relative;
transform: none;
}
::-webkit-scrollbar {
width: 3px;
height: 3px;
}
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.55);
}
::-webkit-scrollbar-thumb {
background: rgba({{ color }}, 0.55);
}
::-webkit-scrollbar-thumb:hover {
background: rgba({{ color }}, 1);
}
card_mod:
style: |
.element[class~=element] {
position: relative;
transform: none;
}
::-webkit-scrollbar {
width: 3px;
height: 3px;
}
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.55);
}
::-webkit-scrollbar-thumb {
background: rgba({{ color }}, 0.55);
}
::-webkit-scrollbar-thumb:hover {
background: rgba({{ color }}, 1);
}
elements:
- type: custom:container-element
style:
position: absolute
top: 0
right: 0
left: 0
bottom: 0
inset: 0
display: flex
align-items: stretch
flex-direction: column
flex-wrap: nowrap
justify-content: space-between
"--secondary-text-color": "#DADADB"
"--primary-text-color": "#DADADB"
"--paper-item-icon-color": "#DADADB"
Expand Down

0 comments on commit 5475e28

Please sign in to comment.