From 8b76cca764bcf32c8f8d5d1a4b59926b67f1fc20 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Mon, 25 Aug 2025 14:13:41 +0800
Subject: [PATCH] Merge branch 'feature/v5.0/5.0.4' into test
---
src/styles/variables.scss | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/styles/variables.scss b/src/styles/variables.scss
index ef29df7..8c395ec 100644
--- a/src/styles/variables.scss
+++ b/src/styles/variables.scss
@@ -1,3 +1,7 @@
$sidebar_width: 230px;
$sidebar_collapse: 60px;
$top_height: 50px;
+
+@function pxToVh($px) {
+ @return calc($px / 1080) * 100vh;
+}
--
Gitblit v1.9.3