From bc0c82bd748dfd9bf4178c990ad5e53d83f052ce Mon Sep 17 00:00:00 2001 From: MengXinZXZ <2223529500@qq.com> Date: Thu, 28 Nov 2024 01:25:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96+=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E5=8C=96=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .prettierrc | 12 ++++++++++++ shoushaUI/lbtn/main1_window.css | 10 +++++----- 2 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 .prettierrc diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..c922359 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,12 @@ +{ + arrowParens: "avoid", + bracketSpacing: true, + endOfLine: "lf", + printWidth: 999, + proseWrap: "preserve", + quoteProps: "as-needed", + semi: true, + tabWidth: 4, + trailingComma: "es5", + useTabs: true, +} \ No newline at end of file diff --git a/shoushaUI/lbtn/main1_window.css b/shoushaUI/lbtn/main1_window.css index b46a2fc..cca67c0 100644 --- a/shoushaUI/lbtn/main1_window.css +++ b/shoushaUI/lbtn/main1_window.css @@ -225,9 +225,9 @@ overflow: visible; transition: none; } -.control>div.primary, -.control>div.qi, -.control>div.huan { +.control > div.primary, +.control > div.qi, +.control > div.huan { --p: calc(var(--h) * 11 / 75); background-image: none; } @@ -288,10 +288,10 @@ display: none; } -.control>div.qi>span { +.control > div.qi > span { background-image: url("./images/uibutton/qipai.png"); } -.control>div.huan>span { +.control > div.huan > span { background-image: url("./images/uibutton/huanpai.png"); } /*手牌*/