-
-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sub buttons too high on Large & 2 Row #1278
Comments
Is this also present when you use 1 row? |
Maybe just disabling this possibility for the separator? Or just centering it inside the rows? This probably make more sense. |
The sub-button styling is a global change thing. |
I'm not sure what you mean by "1 row". If you mean when I use a separator set to I will also test if it just occurs with the separator. Haha yeah a two row separator does sound funny when you put it like that. I'm using it as a header for my people view. My sub buttons are their location and how far from home they are measured in time. On mobile it can get too squished so I use 2 rows on mobile (by modifying some code you provided someone else, thank you!). I can give a screenshot later to make this use case more clear. Currently on mobile. |
Oh I understand now. By "2 row" you meant grid_options:
columns: 12
rows: 2 as opposed to Regardless, thank you so much for the quick fix! I downloaded https://github.com/MrBearPresident/Bubble-Card/tree/Fixes-for-sections-on-large-layout and tested it out. type: custom:bubble-card
card_type: separator
name: ""
icon: none
sub_button:
- show_icon: true
icon: mdi:alpha-a
- show_icon: true
icon: mdi:alpha-b
- show_icon: true
icon: mdi:alpha-c
- show_icon: true
icon: mdi:alpha-d
- show_icon: true
icon: mdi:alpha-e
- show_icon: true
icon: mdi:alpha-f
- show_icon: true
icon: mdi:alpha-g
- show_icon: true
icon: mdi:alpha-h
- show_icon: true
icon: mdi:alpha-i
- show_icon: true
icon: mdi:alpha-j
- show_icon: true
icon: mdi:alpha-k
- show_icon: true
icon: mdi:alpha-l
- show_icon: true
icon: mdi:alpha-m
- show_icon: true
icon: mdi:alpha-n
- show_icon: true
icon: mdi:alpha-o
- show_icon: true
icon: mdi:alpha-p
- show_icon: true
icon: mdi:alpha-q
- show_icon: true
icon: mdi:alpha-r
- show_icon: true
icon: mdi:alpha-s
- show_icon: true
icon: mdi:alpha-t
- show_icon: true
icon: mdi:alpha-u
- show_icon: true
icon: mdi:alpha-v
- show_icon: true
icon: mdi:alpha-w
- show_icon: true
icon: mdi:alpha-x
- show_icon: true
icon: mdi:alpha-y
- show_icon: true
icon: mdi:alpha-z
card_layout: large
styles: |
.card-content {
width: 100%;
margin: 0 !important;
}
.bubble-line {
opacity: 0;
}
modules:
- default
- colorize
grid_options:
columns: 12
rows: 3 |
No problem. I just hope I know tackeled most. But looking at your screenshot everything works. |
Describe the bug
When not set to
normal
the sub button icons are higher than before the beta. See screenshots. Also ideally when there is only one icon, the icon wouldn't get squished but that's more a FR than a bug/regression report.Likely occurred as part of @MrBearPresident's #1172
To Reproduce
See Yaml
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Top images are from the beta, bottom are from
v2.4.0
Normal
:Large
:Large 2 Rows
:YAML
Edit the entity to be a valid one to get the coloring to make it easier to see but otherwise irrelevant as its all about the placement.
Information:
The text was updated successfully, but these errors were encountered: