fix: correct mobile web layout for client download button
This commit is contained in:
@@ -1796,7 +1796,7 @@
|
|||||||
{{ isLogin ? '还没有账号?' : '已有账号?' }}
|
{{ isLogin ? '还没有账号?' : '已有账号?' }}
|
||||||
<a @click="toggleAuthMode">{{ isLogin ? '立即注册' : '去登录' }}</a>
|
<a @click="toggleAuthMode">{{ isLogin ? '立即注册' : '去登录' }}</a>
|
||||||
</div>
|
</div>
|
||||||
<button type="button" class="btn btn-secondary" style="margin-top: 12px;" :disabled="desktopClientDownloading" @click="downloadDesktopClient">
|
<button type="button" class="btn btn-secondary auth-client-download-btn" style="margin-top: 12px;" :disabled="desktopClientDownloading" @click="downloadDesktopClient">
|
||||||
<i :class="desktopClientDownloading ? 'fas fa-spinner fa-spin' : 'fas fa-desktop'"></i>
|
<i :class="desktopClientDownloading ? 'fas fa-spinner fa-spin' : 'fas fa-desktop'"></i>
|
||||||
{{ desktopClientDownloading ? '获取安装包...' : '下载桌面客户端' }}
|
{{ desktopClientDownloading ? '获取安装包...' : '下载桌面客户端' }}
|
||||||
</button>
|
</button>
|
||||||
@@ -1822,7 +1822,7 @@
|
|||||||
|
|
||||||
<i class="fas fa-cog"></i> 设置
|
<i class="fas fa-cog"></i> 设置
|
||||||
</div>
|
</div>
|
||||||
<button class="btn btn-secondary" :disabled="desktopClientDownloading" @click="downloadDesktopClient">
|
<button class="btn btn-secondary navbar-download-btn" :disabled="desktopClientDownloading" @click="downloadDesktopClient">
|
||||||
<i :class="desktopClientDownloading ? 'fas fa-spinner fa-spin' : 'fas fa-download'"></i>
|
<i :class="desktopClientDownloading ? 'fas fa-spinner fa-spin' : 'fas fa-download'"></i>
|
||||||
{{ desktopClientDownloading ? '准备中...' : '下载客户端' }}
|
{{ desktopClientDownloading ? '准备中...' : '下载客户端' }}
|
||||||
</button>
|
</button>
|
||||||
@@ -5365,6 +5365,16 @@
|
|||||||
border-color: var(--glass-border-hover);
|
border-color: var(--glass-border-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.enterprise-netdisk .auth-client-download-btn {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.enterprise-netdisk .navbar-menu .navbar-download-btn {
|
||||||
|
flex: 0 0 auto;
|
||||||
|
white-space: nowrap;
|
||||||
|
min-width: max-content;
|
||||||
|
}
|
||||||
|
|
||||||
body.enterprise-netdisk .btn-danger {
|
body.enterprise-netdisk .btn-danger {
|
||||||
background: #ef4444;
|
background: #ef4444;
|
||||||
border-color: #ef4444;
|
border-color: #ef4444;
|
||||||
@@ -6870,7 +6880,8 @@
|
|||||||
|
|
||||||
body.enterprise-netdisk .nav-item,
|
body.enterprise-netdisk .nav-item,
|
||||||
body.enterprise-netdisk .user-info,
|
body.enterprise-netdisk .user-info,
|
||||||
body.enterprise-netdisk .navbar-menu .btn-danger {
|
body.enterprise-netdisk .navbar-menu .btn-danger,
|
||||||
|
body.enterprise-netdisk .navbar-menu .navbar-download-btn {
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user