Skip to content

Commit 9396bc9

Browse files
committed
[fix] LESS syntax compatibility
1 parent 9b76329 commit 9396bc9

6 files changed

Lines changed: 12 additions & 10 deletions

File tree

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+
.section-frame() {
4+
}
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+
.section-frame() {
4+
}
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+
.section-frame() {
4+
}
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+
.section-frame() {
4+
}
45

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

components/Activity/Hackathon/Resources.module.less

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

3-
;
3+
.section-frame() {
4+
}
45

56
.resourceCard,
67
.projectCard {
7-
;
88
transition:
99
transform 0.22s ease,
1010
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+
.section-frame() {
4+
}
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)