Skip to content

Commit 7f17778

Browse files
committed
fix linter
1 parent 8c23e30 commit 7f17778

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

.github/pages/wait/install/index.css

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ body.scroll-lock {
1212
}
1313

1414
.hero.bg-image-loaded {
15-
background-image: url(https://repository-images.githubusercontent.com/862251163/ef021bff-96a0-4e73-b3d0-7e7fbab660e8);
15+
background-image: url("https://repository-images.githubusercontent.com/862251163/ef021bff-96a0-4e73-b3d0-7e7fbab660e8");
1616
/* 确保背景图的显示方式与SVG的模拟方式一致 */
1717
background-size: cover;
1818
background-position: center;
@@ -26,7 +26,8 @@ body.scroll-lock {
2626
position: absolute;
2727
inset: 0;
2828
z-index: 1;
29-
display: flex; /* 保持flex以便居中 */
29+
display: flex;
30+
/* 保持flex以便居中 */
3031
align-items: center;
3132
justify-content: center;
3233
transition: opacity 0.8s ease-in;
@@ -46,14 +47,18 @@ body.scroll-lock {
4647
.hero .hero-overlay,
4748
.hero .hero-content {
4849
position: relative;
49-
z-index: 2; /* Ensures it's above the SVG animation */
50-
opacity: 0; /* Initially transparent */
51-
transition: opacity 0.8s ease-in; /* Ready for fade-in effect */
50+
z-index: 2;
51+
/* Ensures it's above the SVG animation */
52+
opacity: 0;
53+
/* Initially transparent */
54+
transition: opacity 0.8s ease-in;
55+
/* Ready for fade-in effect */
5256
}
5357

5458
/* Class to make elements visible after the animation */
5559
.visible-after-intro {
56-
opacity: 1 !important; /* !important ensures it overrides daisyUI's bg-opacity-60 */
60+
opacity: 1 !important;
61+
/* !important ensures it overrides daisyUI's bg-opacity-60 */
5762
}
5863

5964
/* === End: Hero Animation Styles === */

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const commonPlugins = {
1616
const commonRules = {
1717
'remove-duplicates/remove-array-duplicates': ['error'],
1818
'no-undef': ['error'],
19+
'no-useless-escape': ['error'],
1920
semi: ['error', 'never'],
2021
'no-duplicate-imports': ['error'],
2122
curly: ['error', 'multi'],

0 commit comments

Comments
 (0)