Skip to content
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

Why I can't get a responsive behavior? #8

Open
reypm opened this issue Feb 28, 2023 · 1 comment
Open

Why I can't get a responsive behavior? #8

reypm opened this issue Feb 28, 2023 · 1 comment

Comments

@reypm
Copy link

reypm commented Feb 28, 2023

Wonder what I am missing here because my dashboard does not get responsive if I am accessing it from my phone. See the following pic:

image

This is the YAML for such view:

  - theme: Backend-selected
    title: Office
    path: office
    icon: mdi:chair-rolling
    badges: []
    type: panel
    cards:
      - type: custom:bootstrap-grid-card
        cards:
          - type: row
            class: d-flex flex-row-reverse
            cards:
              - type: custom:mushroom-light-card
                class: col-xs-6 col-md-3 col-xxl-3
                name: Office Light
                entity: light.office
                show_brightness_control: true
                use_light_color: true
                collapsible_controls: true
                fill_container: true
                secondary_info: last-changed
                layout: horizontal
              - type: custom:mushroom-fan-card
                class: col-xs-6 col-md-3 col-xxl-3
                name: Office Fan
                entity: fan.office
                icon_animation: true
                show_percentage_control: true
                collapsible_controls: true
                fill_container: true
                secondary_info: last-changed
                layout: horizontal
@ownbee
Copy link
Owner

ownbee commented Mar 15, 2023

I see you are using a custom card. Some cards are not built to work well with bootstrap. Do you get the same behavior if you try using the built-in cards?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants