File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed
Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change 77.activity-heatmap-container {
88 container-type : inline-size;
99}
10-
11- @container (width > 0) {
12- # user-heatmap {
13- /* Set element to fixed height so that it does not resize after load. The calculation is complex
14- because the element does not scale with a fixed aspect ratio. */
15- height : calc ((100cqw / 5 ) - (100cqw / 25 ) + 20px );
16- }
10+ # user-heatmap .is-loading {
11+ aspect-ratio : 5.4823972051 ; /* the size is about 816 x 148.84 */
1712}
18-
19- /* Fallback height adjustment above for browsers that don't support container queries */
20- @supports not (container-type : inline-size) {
21- # user-heatmap .is-loading {
22- aspect-ratio : 5.415 ;
23- }
24- .user .profile # user-heatmap .is-loading {
25- aspect-ratio : 5.645 ;
26- }
13+ .user .profile # user-heatmap .is-loading {
14+ aspect-ratio : 5.6290608387 ; /* the size is about 953 x 169.3 */
2715}
2816
17+
2918# user-heatmap text {
3019 fill : currentcolor !important ;
3120}
You can’t perform that action at this time.
0 commit comments