mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-20 20:39:55 +00:00
fix(layout): 移除未使用的CSS变量并修复高度计算
移除未使用的CSS变量--layout-main-height,并直接在logo-container中计算高度
This commit is contained in:
@@ -349,7 +349,7 @@ onMounted(() => {
|
||||
z-index: 99;
|
||||
|
||||
.logo-container {
|
||||
height: var(--layout-main-height);
|
||||
height: calc(100vh - 64px);
|
||||
padding: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
--header-height: 64px;
|
||||
|
||||
--transition-duration: 0.2s;
|
||||
--layout-main-height: calc((--basic-layout)- var(--header-height));
|
||||
|
||||
/* 颜色变量 */
|
||||
--primary-color: #1890ff;
|
||||
|
||||
Reference in New Issue
Block a user