kalkih / mini-media-player

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

Deleted Line 303 #593

Closed DATAstrm closed 2 years ago

DATAstrm commented 2 years ago

Line 303 is preventing shuffle button icon from scaling with "scale" option. Removing it allows resizing of shuffle button icon.

Testing was performed with the spotify integration enabled and the shuffle button shown.

suneworld commented 2 years ago

I can confirm this. While I wait for the merge: how do I remove line 303? I am unable to find the mentioned file.

DATAstrm commented 2 years ago

All I did was delete the line after finding it in the js file.

suneworld commented 2 years ago

Thank you for answering! My problem is that I have only one file, and it is without line numbers: My file is called mini-media-player-bundle.js

On Mon, 7 Feb 2022 at 23:19, DATAstrm @.***> wrote:

All I did was delete the line after finding it in the js file.

— Reply to this email directly, view it on GitHub https://github.com/kalkih/mini-media-player/pull/593#issuecomment-1031993289, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR2OHLISDDF2SFQOYLS7Z23U2BAQZANCNFSM5MKHFOMQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

DATAstrm commented 2 years ago

You can just search for the code that was in the deleted line. I think it only appears once in the entire file.

suneworld commented 2 years ago

I tried deleting in the file without doing a full recompile. Did not work I'm afraid. But added the following to the card itself solved the issue: style: .mmp-player .mmp-player__adds: mmp-media-controls: $: | ha-icon-button { --mdc-icon-size: 60px !important; }