Skip to content

Right justify content in sub-buttons? #1176

Discussion options

You must be logged in to vote

Try to add justify-items: end !important; to .bubble-sub-button-container

- type: custom:bubble-card
    card_type: button
    button_type: state
    entity: sensor.XXXXXXXX
    name: Account
    card_layout: large-2-rows
    sub_button:
      - name: Change Value
        attribute: marketChangeDisplay
        show_attribute: true
        show_background: false
        show_icon: false
      - name: Cash Value
        attribute: cash
        show_state: false
        show_icon: false
        state_background: false
        show_background: false
        show_attribute: true
    styles: |
      .bubble-icon-container,
      .bubble-button-card-container {
        background-color: transpa…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sjcrossley
Comment options

Answer selected by sjcrossley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment