Hey,
I’m trying to configure a view that has automatically rotated cards. My phone has portrait orientation always locked, so I don’t want to rely on it to rotate the cards.
Could I somehow rotate the 6 button vertical stack here, so instead of:
CAMERA BOX
Privacy Mode | Stay Awake
Living Room | Bed
Entrance Floor | Main door
the entire vertical stack of 6 icons is rotated by 90 degrees to the right (including the text, but I can’t replicate that here):
And excluding the camera, which I already rotated:
style: |
ha-card {
display: flex;
transition: transform 0s;
transform: rotate(90deg);
align-items: center;
justify-content: center;
overflow: hidden;
}
CAMERA BOX
E | L | P
n | i | r
t | v | i
r | i | v
a | n | a
n | g | c
c | | y
e | r |
| o | m
d | o | o
o | m | d
o | | e
r | |
-- -- --
M | B | S
a | e | t
i | d | a
n | | y
| |
d | | a
o | | w
o | | a
r | | k
| | e