We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65e25ac commit 566e13eCopy full SHA for 566e13e
web_src/css/features/heatmap.css
@@ -18,11 +18,14 @@
18
19
/* Fallback height adjustment above for browsers that don't support container queries */
20
@supports not (container-type: inline-size) {
21
+ /* before the Vue component is mounted, show a loading indicator with dummy size */
22
+ /* the ratio is guesswork, see https://github.com/razorness/vue3-calendar-heatmap/issues/26 */
23
+
24
#user-heatmap.is-loading {
- aspect-ratio: 5.415;
25
+ aspect-ratio: 5.4823972051; /* the size is about 816 x 148.84 */
26
}
27
.user.profile #user-heatmap.is-loading {
- aspect-ratio: 5.645;
28
+ aspect-ratio: 5.6290608387; /* the size is about 953 x 169.3 */
29
30
31
0 commit comments