Lovelace: Decluttering Card

Compatible with Swiper Card? When using a Decluttering card template within a Swiper card:

decluttering_templates:
  room_button_template:
    default:
      - entity: []
    card:
      type: custom:button-card
      entity: '[[entity]]'
      name: '[[name]]'
      ...

...
              - type: custom:swipe-card
                start_card: 1
                parameters:
                    freeMode: true
                    slidesPerView: auto
                    iOSEdgeSwipeDetection: true
                    slideToClickedSlide: true
                cards:
                  - type: custom:decluttering-card
                    template: room_button_template
                    variables:
                      - entity: sensor.living_room_ecobee_temperature
                     ...

Swiper Card adds the slide classes to the decluttering-card DIV:

<decluttering-card class="swiper-slide swiper-slide-active">...

Instead of the button card DIV:

<button-card class="swiper-slide swiper-slide-active" ...

This causes each swiper slide to be stretched out. Any thoughts on how to fix this? Thanks in advance!