-
-
Notifications
You must be signed in to change notification settings - Fork 42
Cards inside swipe-card, does not apply card_mod #98
Copy link
Copy link
Open
Description
Hi!
I am trying to use swipe-card with two cards where I added some card_mod configs (which normally it is working as single cards), but it is not working in this situation, none of card_mods were applied. Any solution?
This is my card
type: custom:swipe-card
cards:
- type: custom:webrtc-camera
url: xxx
muted: true
mode: mse
media: video,audio
ui: true
card_mod:
style: |
.space{width:0px !important}
.volume{
transform: scale(1.5);
position:absolute;
bottom:5px;
right:5px}
.screenshot, .pictureinpicture{display:none !important}
.fullscreen{transform: scale(2);position:absolute;bottom:5px;left:5px}
- type: custom:webrtc-camera
url: xxx
muted: true
mode: mse
ui: true
card_mod:
style: |
video{width:90% !important; margin-left:-20% !important;
transform: rotate(90deg) !important; aspect-ratio: 1;}
ha-card{position:fixed !important; margin-top: -6px !important;
filter:hue-rotate(-20deg) contrast(110%) saturate(110%);}
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels