From 286701e2d195293ad8718cf14441d3978249cb50 Mon Sep 17 00:00:00 2001 From: Sakura Date: Wed, 4 Oct 2023 10:29:40 +0800 Subject: [PATCH] feat(snippets): hide lyrics button (#600) --- resources/assets/snippets/hide-lyrics-button.png | Bin 0 -> 752 bytes src/resources/snippets.ts | 6 ++++++ 2 files changed, 6 insertions(+) create mode 100644 resources/assets/snippets/hide-lyrics-button.png diff --git a/resources/assets/snippets/hide-lyrics-button.png b/resources/assets/snippets/hide-lyrics-button.png new file mode 100644 index 0000000000000000000000000000000000000000..5fcc6bd2565301c69fd7cc156ec9745d7d84a5e8 GIT binary patch literal 752 zcmVPx#OHfQyMF0Q*2mt_ET3Y=m1XNU1va+(CbE78YC#07FAVf`NgYoSbZHYhw-oEGsLLk&(o1UvCu$@bK`S7635@0GmiU!yNx< z0006*NklGuql^In z0000000000006*iapAd7`2}XK9Chc6C4TB)X|mB(hovQcI#eBpoo}L!g{9unp@F2i zkhvu|TDSCH9eFhoOxcpI$>}FL(tDN^s2-tEj3uK&P;JJMc9Y|<{H5MXIb3_ll>RDf z_iRbk)B9SLGR`Z<_&FCxq(;XsEF?2YLJZd)viT^YDDZ_PeOYoUy{SGHxfbn>xQrw* zT^SQHr$|UEjMVydB@LF^km^zE7Rwae7)r|BkVGyoNyvURN)m40lAJC}8bYW|^(eSZ zs$3O*eM6F^tRyE>HHwmqq+Lr=O7Nm2rrWBDo(>HuzxDQO>1Mu`qNMnmZtvdT?&m!m zH(>NnB`Ir)l1Rmp9fL_J!yYZkNj6H-a=QN(N72%86Hky7IxC2r?q35BZxcOi+N`)#ehaZs{SxMLK_p)w_WalqZR zBonSWW}h2LKKvgXC++&AWc|>s!J*qGN3e8{BUoC{<#gbY(ws}z{0#z literal 0 HcmV?d00001 diff --git a/src/resources/snippets.ts b/src/resources/snippets.ts index 4c8ddd13..39d5a1e7 100644 --- a/src/resources/snippets.ts +++ b/src/resources/snippets.ts @@ -317,4 +317,10 @@ export default [ "code": ".lyrics-lyrics-contentWrapper { text-align: center; }", "preview": "resources/assets/snippets/centered-lyrics.png", }, + { + "title": "Hide lyrics button", + "description": "Hides the lyrics button in the playbar", + "code": "button.Button-sc-1dqy6lx-0.Button-sm-16-buttonTertiary-iconOnly-useBrowserDefaultFocusStyle.main-genericButton-button { display: none; }", + "preview": "resources/assets/snippets/hide-lyrics-button.png", + }, ];