Skip to content

Commit 2ade583

Browse files
committed
[fix] LESS syntax compatibility
1 parent 9b76329 commit 2ade583

File tree

7 files changed

+22
-14
lines changed

7 files changed

+22
-14
lines changed

components/Activity/Hackathon/ActionHub.module.less

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
}
1717

1818
.registerCard {
19-
;
19+
// prettier-ignore
20+
.panel-card();
2021
background: linear-gradient(135deg, rgba(44, 232, 255, 0.08), rgba(123, 97, 255, 0.14));
2122
}
2223

@@ -75,11 +76,13 @@
7576
}
7677

7778
.actionButton {
78-
;
79+
// prettier-ignore
80+
.button-primary();
7981
}
8082

8183
.actionButtonGhost {
82-
;
84+
// prettier-ignore
85+
.button-ghost();
8386
border-color: rgba(255, 255, 255, 0.18);
8487
color: @muted;
8588

@@ -132,7 +135,8 @@
132135
}
133136

134137
.entryCard {
135-
;
138+
// prettier-ignore
139+
.panel-card();
136140
transition:
137141
transform 0.22s ease,
138142
border-color 0.22s ease;

components/Activity/Hackathon/Awards.module.less

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import './theme.less';
22

3-
;
3+
// prettier-ignore
4+
.section-frame();
45

56
.supportEyebrow {
67
margin: 0 0 0.4rem;
@@ -81,7 +82,6 @@
8182
}
8283

8384
.badgeTile {
84-
;
8585
transition:
8686
transform 0.22s ease,
8787
border-color 0.22s ease;
@@ -171,7 +171,6 @@
171171
}
172172

173173
.supportCard {
174-
;
175174
display: grid;
176175
grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
177176
gap: 1.25rem;

components/Activity/Hackathon/FAQ.module.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import './theme.less';
22

3-
;
3+
// prettier-ignore
4+
.section-frame();
45

56
.faqGrid {
67
grid-template-columns: repeat(2, minmax(0, 1fr));

components/Activity/Hackathon/Overview.module.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import './theme.less';
22

3-
;
3+
// prettier-ignore
4+
.section-frame();
45

56
.themePanel {
67
position: relative;

components/Activity/Hackathon/Participants.module.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import './theme.less';
22

3-
;
3+
// prettier-ignore
4+
.section-frame();
45

56
.participantCloud {
67
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));

components/Activity/Hackathon/Resources.module.less

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
@import './theme.less';
22

3-
;
3+
// prettier-ignore
4+
.section-frame();
45

56
.resourceCard,
67
.projectCard {
7-
;
8+
// prettier-ignore
9+
.panel-card();
810
transition:
911
transform 0.22s ease,
1012
border-color 0.22s ease;

components/Activity/Hackathon/Schedule.module.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import './theme.less';
22

3-
;
3+
// prettier-ignore
4+
.section-frame();
45

56
.scheduleIntro {
67
margin-bottom: 0;
@@ -53,7 +54,6 @@
5354
}
5455

5556
.dayCard {
56-
;
5757
position: relative;
5858
transition:
5959
transform 0.22s ease,

0 commit comments

Comments
 (0)