kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.51k stars 206 forks source link

Text info cut in scale greater than 1.6 #833

Open SoloMen88 opened 7 months ago

SoloMen88 commented 7 months ago

If I set the scale to more than 1.6, then the info text starts to get cut off; with a scale of 2.4 that suits me, it is severely cropped and this is inconvenient. Here is my card config. Can anything be done about this? I would also like to take this opportunity to draw attention to the disproportionately small volume control, You can't adjust its thickness in the CSS settings.


     - type: custom:mini-media-player
        entity: media_player.yandex_station
        artwork: cover
        sound_mode: icon
        shortcuts:
          attribute: sound_mode
          buttons:
            - icon: mdi:radio-tower
              id: включи мою волну
              type: command
            - icon: mdi:radiology-box
              id: включи волну по этой песне
              type: command
            - icon: mdi:playlist-star
              id: включи мою любимую музыку вперемешку
              type: command
            - icon: mdi:playlist-music
              id: включи плейлист дня
              type: command
            - icon: mdi:heart
              id: лайк
              type: command
            - icon: mdi:heart-off
              id: снять лайк
              type: command
          columns: 2
        scale: 2.4
        hide:
          sound_mode: true
          runtime: false
          name: true
          power: true
          icon: true
        volume_stateless: false
        info: scroll
        source: full
        group: false
        toggle_power: true'''