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

Mobile (Responsive) CSS - No margins for the entity row #36

Open
MetalWing opened this issue Jul 29, 2019 · 0 comments
Open

Mobile (Responsive) CSS - No margins for the entity row #36

MetalWing opened this issue Jul 29, 2019 · 0 comments

Comments

@MetalWing
Copy link

One of my banner cards does not seem to have any margins when viewed on mobile.

On PC browser:
image

On Mobile
image

The Living Room banner card does not have any issues, but the weather alerts does. Here's my card code for the two.

Living Room:

entities:
  - entity: sensor.living_room_thermostat_temperature
    name: Temperature
  - entity: sensor.living_room_thermostat_humidity
    name: 'Humidity '
  - entity: switch.merossplug1
    name: "\U0001F4FA  TV"
heading: "\U0001F6CB Living room"
type: 'custom:banner-card'

Weather Alerts:

entities:
  - entity: sensor.warnings
    name: ' '
    when:
      attributes:
        hidden: false
  - entity: sensor.statements
    name: null
    when:
      attributes:
        hidden: false
  - entity: sensor.advisories
    name: null
    when:
      attributes:
        hidden: false
  - entity: sensor.watches
    name: null
    when:
      attributes:
        hidden: false
heading: ⚠ Weather Alerts
type: 'custom:banner-card'

Sensor that's used for weather alerts is Environment Canada

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

1 participant