用自带的style搞定了,
主界面分了1:2,bubble-card(pop-up)宽度66vw,强制贴右边框,配合主题把圆角也取消了
效果还可以,替换掉了browser-mod的custom:popup-card
type: vertical-stack
cards:
- type: custom:bubble-card
card_type: pop-up
hash: "#weather"
show_header: false
width_desktop: 66vw
styles: |-
div#root {
right: 1vw;
left: auto;
border-radius: 0;
}
|