Cant get this markdown from overflowing the card

using:

  - type: entities
    title: System settings
    show_header_toggle: false
    style: |
      .card-header {color: var(--primary-color);font-weight: bold;}
    entities:
      - type: custom:slider-entity-row
        entity: input_number.ha_delayed_startup
      - type: divider
      - entity: automation.update_available
        secondary_info: last-triggered
      - entity: automation.updater_notification
        secondary_info: last-triggered
      - type: divider
      - type: custom:hui-element
        card_type: markdown
        style: |
          .card-header {color: var(--primary-color);font-weight: bold;}
          ha-card {
            box-shadow: none;
            margin: -15px 15px 0px -15px;
          }

the contents of the Markdown cards keep overflowing the card, even with the margin setting of 15px on the right side.

anyone see a solution to prevent that?

Also note the – to the right, below the bottom automation toggle, what could that be??</strike?
never mind the last question, was caused by the -15px for the top, sorry: