refactor(ui): 界面升级与代码规范优化
This commit is contained in:
21
src/styles/mixins.scss
Normal file
21
src/styles/mixins.scss
Normal file
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* 布局 Mixins
|
||||
*/
|
||||
|
||||
@use "variables" as *;
|
||||
|
||||
@mixin app-main-height-with-tags {
|
||||
height: calc(100vh - $navbar-height - $tags-view-height) !important;
|
||||
}
|
||||
|
||||
@mixin app-main-height {
|
||||
height: calc(100vh - $navbar-height);
|
||||
}
|
||||
|
||||
@mixin sidebar-scroll-height-with-logo {
|
||||
height: calc(100vh - $navbar-height);
|
||||
}
|
||||
|
||||
@mixin sidebar-scroll-height-with-toggle {
|
||||
height: calc(100vh - $navbar-height - $sidebar-toggle-height);
|
||||
}
|
||||
Reference in New Issue
Block a user