公共样式

This commit is contained in:
2023-08-03 11:18:03 +08:00
parent 969a5303a8
commit 01f459e811
15 changed files with 178 additions and 78 deletions

View File

@@ -28,11 +28,14 @@ export default {
<style lang="scss" scoped>
.app-main {
/* 50= navbar 50 */
/* 48= navbar 48 */
min-height: calc(100vh - 56px);
width: 100%;
min-width: calc(100vh - 280px);
position: relative;
overflow: hidden;
margin: 8px 14px 0px 16px;
border-radius: 8px;
background-color: #fff;
}
.fixed-header + .app-main {
@@ -41,8 +44,8 @@ export default {
.hasTagsView {
.app-main {
/* 84 = navbar + tags-view = 56 + 34 */
min-height: calc(100vh - 128px);
/* 84 = navbar + tags-view = 50 + 34 */
min-height: calc(100vh - 120px - 8px);
}
.fixed-header + .app-main {