Skip to content

Commit

Permalink
tweak(web): fix background fill screen
Browse files Browse the repository at this point in the history
  • Loading branch information
bitxeno committed Jul 7, 2023
1 parent f4413dc commit 5b53160
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
11 changes: 5 additions & 6 deletions view/src/page/home/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
>
<div class="inline-flex">
<div class="w-32 rounded relative">
<img :src="iconUrl(item)" class="rounded-md"/>
<img :src="iconUrl(item)" class="rounded-md" />
<div
class="absolute w-full h-full top-0 flex items-center justify-center bg-[#00000066]"
v-show="isInstalling(item)"
Expand Down Expand Up @@ -153,10 +153,10 @@
</div>
</div>
</td>
<td>
<td class="lg:break-all">
{{ formatDeviceName(item) }}
</td>
<td>{{ item.account }}</td>
<td class="lg:break-all">{{ item.account }}</td>
<td>
<div class="badge badge-ghost w-16">
{{ formatExpiredTime(item) }}
Expand Down Expand Up @@ -307,7 +307,7 @@ export default {
clearTimeout(this.checkInstallingTimer);
}
this.checkInstallingTimer = setTimeout(function() {
this.checkInstallingTimer = setTimeout(function () {
_this.checkInstallingApp();
}, 10 * 1000);
},
Expand Down Expand Up @@ -400,9 +400,8 @@ export default {
if (app.icon) {
return `/apps/${app.ID}/icon`;
} else {
return '/img/dummy.jpg';
return "/img/dummy.jpg";
}
},
logUrl(item) {
return `/apps/${item.ID}/log`;
Expand Down
10 changes: 3 additions & 7 deletions view/src/page/layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,9 @@ import SettingsIcon from "@/assets/icons/settings.svg";
<style lang="postcss" scoped>
.app-container {
width: 100%;
/**width: 100vw;
min-width: 600px; **/
left: 50%;
transform: translateX(-50%);
position: absolute;
top: 0;
bottom: 0;
min-height: 100vh;
background-attachment: fixed;
background-size: cover;
background-repeat: no-repeat;
background-image: radial-gradient(
circle 800px at 700px 200px,
Expand Down

0 comments on commit 5b53160

Please sign in to comment.