Skip to content

Commit 4f8ff51

Browse files
committed
update gui
1 parent 8a9a710 commit 4f8ff51

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

gui/src/assets/styles.scss

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -648,9 +648,11 @@ pre.app-code code{
648648
padding-right: 0;
649649
}
650650
.empty-btn{
651-
position: absolute !important;
652-
opacity: 0.8;
653-
top: 41%;left: 50%;width: 160px; margin-left: -80px;font-size: 20px;
651+
// position: absolute !important;
652+
// opacity: 0.8;
653+
// top: 41%;left: 50%;
654+
// width: 160px; margin-left: -80px;
655+
font-size: 20px;
654656
}
655657

656658

@@ -1149,10 +1151,10 @@ fieldset{
11491151
}
11501152
@media screen and (min-width: 768px) and (max-width: 1024px){
11511153
.empty-btn{
1152-
top: 39%;
1153-
left: 50%;
1154-
width: 120px;
1155-
margin-left: -60px;
1154+
// top: 39%;
1155+
// left: 50%;
1156+
// width: 120px;
1157+
// margin-left: -60px;
11561158
font-size: 14px !important;
11571159
}
11581160
}

gui/src/components/common/Empty.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ const primary = () => {
3838
<p>{{props.error?.message}}</p>
3939
</div>
4040
<div v-else class="w-full text-center empty-result mt-4 relative">
41-
<img :src="freeSvg" class="w-4 h-4 mx-aut" style="margin: auto;" />
42-
<h5 class="text-tip">{{props.title||'No data.'}}</h5>
41+
<img :src="freeSvg" class="w-4 h-4 mx-aut" style="margin: auto;max-width: 400px;" />
42+
<h5 class="text-tip">{{props.title||'No data.'}}</h5>
4343
<p>{{props.sub}}</p>
4444
<Button
4545
v-if="props.button"
4646
class="empty-btn"
4747
:label="props.button"
4848
size="large"
49-
rounded
5049
raised
50+
v-ripple
5151
severity="primary"
5252
@click="primary"/>
5353
</div>

0 commit comments

Comments
 (0)