nukeop / nuclear

Streaming music player that finds free music for you
https://nuclear.js.org/
GNU Affero General Public License v3.0
11.72k stars 1.02k forks source link

Fix #1592 Miniplayer bugged controls #1595

Closed CarlosBor closed 2 months ago

CarlosBor commented 2 months ago

Fixes some miniplayer dropdown buttons being unclickable

nuki-chan[bot] commented 2 months ago

Lines 18-21

Ohayou, Code Adventurer~! ✨ Nuki is here to sprinkle some advice on this... "neumorphic" piece of art! 🖌️

Here's a cute and maintainable suggestion, just for you:

$z-index-small: 10; // You can adjust and place it with other z-index values at the top!

&.small {
  box-shadow: $smallDisplacement $smallDisplacement $smallBlur darken($background, $contrast), 
    (-$smallDisplacement) (-$smallDisplacement) $smallBlur lighten($background, $contrast);
  z-index: $z-index-small;
}

Remember, following Nuki’s advice isn't mandatory to get your PR merged; she's still powering up her skill levels! 🌟

nukeop commented 2 months ago

I think it's fine, it's a single screen after all. Thanks for fixing this.