File tree Expand file tree Collapse file tree 4 files changed +18
-10
lines changed Expand file tree Collapse file tree 4 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,12 @@ pluginService.findAll().then((plugins) => {
70
70
</script >
71
71
72
72
<template >
73
- <Loading message =" Generating project" :show =" loading" ></Loading >
73
+ <Loading
74
+ :full =" true"
75
+ message =" Generating project"
76
+ :show =" loading"
77
+ position =" fixed"
78
+ ></Loading >
74
79
<div class =" px-3 my-8 mb-16" >
75
80
<a ref =" refDownload" ></a >
76
81
<div class =" width-content grid lg:grid-cols-2 grid-cols-1" >
Original file line number Diff line number Diff line change @@ -34,11 +34,14 @@ const formatDate = (date: string) => {
34
34
<span class =" text-lg font-bold" >
35
35
{{ plugin.name }}
36
36
</span >
37
- <span class =" text-base" > Updated: {{ formatDate(plugin.date) }} </span >
37
+ <span class =" text-base text-right" >
38
+ <span class =" hidden md:inline-block" >Updated:</span >
39
+ {{ formatDate(plugin.date) }}
40
+ </span >
38
41
</div >
39
- <span class =" text-base mt-1 " >
42
+ <div class =" text-base mt-2 " >
40
43
{{ plugin.description }}
41
- </span >
44
+ </div >
42
45
</div >
43
46
<div class =" flex justify-between items-center mt-3" >
44
47
<span >Last month download {{ plugin.downloadStats.lastMonth }}</span >
@@ -53,7 +56,7 @@ const formatDate = (date: string) => {
53
56
<span class =" mdi mdi-github" ></span >
54
57
</a >
55
58
<a
56
- class =" px-3 rounded-full"
59
+ class =" px-3 rounded-full truncate overflow-hidden "
57
60
style =" background : #d55553 "
58
61
:href =" plugin.links.npm"
59
62
target =" _blank"
Original file line number Diff line number Diff line change @@ -55,11 +55,11 @@ const state = reactive({ count: 0 });
55
55
56
56
<style scoped>
57
57
.content-loading {
58
- position : absolute ;
58
+ position : fixed ;
59
59
left : 0 ;
60
60
top : 0 ;
61
- width : 100 % ;
62
- height : 100 % ;
61
+ width : 100 vw ;
62
+ height : 100 vh ;
63
63
display : flex ;
64
64
justify-content : center ;
65
65
align-items : center ;
Original file line number Diff line number Diff line change 5
5
<div class =" modal-overlay" id =" modal-overlay" ></div >
6
6
<div
7
7
ref =" refModal"
8
- class =" modal rounded-2xl bg-light"
9
- :class =" { 'full-screen': fullScreen } "
8
+ class =" modal bg-light"
9
+ :class =" [fullScreen ? 'full-screen' : 'rounded-2xl'] "
10
10
id =" modal"
11
11
:style =" { height: fullScreen ? '100%' : maxHeight }"
12
12
>
You can’t perform that action at this time.
0 commit comments