Skip to content

Commit 8660bb7

Browse files
committed
fixed profile-card demo
1 parent e777e4d commit 8660bb7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

demos/profile-card/structure.gss

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ radius == 10 !require;
1414
#avatar {
1515
height: == 160 !require;
1616
width: == &[height];
17-
border-radius: == &[height] / 2;
17+
border-radius: 50%;
1818
}
1919

2020
#name {
@@ -48,7 +48,7 @@ button {
4848

4949
@v |-(#cover)-(#follow)-| in(#profile-card) gap($sgap) !require;
5050

51-
//#follow[center-x] == #profile-card[center-x];
51+
#follow[center-x] == #profile-card[center-x];
5252

5353
@h |-(#message)~-~(#follow)~-~(#following)-(#followers)-|
5454
in(#profile-card)

js/script.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
console.time("display");
88
}
99
}
10-
engine.once("solve", function() {
10+
GSS.once("display", function() {
1111
if (typeof console !== "undefined" && console !== null) {
1212
if (typeof console.timeEnd === "function") {
1313
console.timeEnd("display");
@@ -74,7 +74,7 @@
7474
scrollDirection = "up";
7575
}
7676
/*
77-
[windowW, windowH] = getWindowSize()
77+
[windowW, windowH] = getWindowSize()
7878
scrollBottom = scroll + windowH
7979
*/
8080

0 commit comments

Comments
 (0)