From f672f4d1bb62211f9050e18717bcd2857d39db18 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Mon, 27 Dec 2021 12:26:43 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AB=AF=E6=9B=B4=E6=96=B0=E7=AA=97=E5=8F=A3=E6=BB=9A=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/php/php.conf | 4 ++-- resources/assets/js/components/AppDown.vue | 1 + resources/assets/sass/components/app-down.scss | 6 ++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docker/php/php.conf b/docker/php/php.conf index 74f52c2d..b72399d4 100644 --- a/docker/php/php.conf +++ b/docker/php/php.conf @@ -2,10 +2,10 @@ directory=/var/www # 生产环境 -command=php bin/laravels start -i +#command=php bin/laravels start -i # 开发环境 -#command=./bin/inotify ./app +command=./bin/inotify ./app numprocs=1 autostart=true diff --git a/resources/assets/js/components/AppDown.vue b/resources/assets/js/components/AppDown.vue index 61823bad..07504958 100644 --- a/resources/assets/js/components/AppDown.vue +++ b/resources/assets/js/components/AppDown.vue @@ -57,6 +57,7 @@ export default { title: this.$L("更新提示"), duration: 0, position: "bottom-right", + customClass: "common-app-down-notification", onClose: () => { this.repoStatus = 2; }, diff --git a/resources/assets/sass/components/app-down.scss b/resources/assets/sass/components/app-down.scss index 8d2ea208..fc522459 100644 --- a/resources/assets/sass/components/app-down.scss +++ b/resources/assets/sass/components/app-down.scss @@ -7,6 +7,12 @@ align-items: center; } +.common-app-down-notification { + .el-notification__group { + width: 100%; + } +} + .common-app-down-link { display: inline-block; cursor: pointer;