Commit f61d3230 by 姜雷

添加下标

parent 9b7de110
...@@ -4,7 +4,7 @@ $sideBar-width: 250px; ...@@ -4,7 +4,7 @@ $sideBar-width: 250px;
.main-container { .main-container {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
max-height: calc(100vh - 70px); max-height: calc(100vh - 100px);
transition: margin-left 0.28s; transition: margin-left 0.28s;
margin-left: $sideBar-width; margin-left: $sideBar-width;
} // 侧边栏 } // 侧边栏
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
<UserBox></UserBox> <UserBox></UserBox>
</div> </div>
<div> <div>
<sidebar class="sidebar-container"></sidebar> <sidebar class="sidebar-container"></sidebar>
<div class="main-container"> <div class="main-container">
<navbar></navbar> <navbar></navbar>
...@@ -16,6 +15,9 @@ ...@@ -16,6 +15,9 @@
<app-main></app-main> <app-main></app-main>
</div> </div>
</div> </div>
<!-- <div class="copyright">
@copyright
</div> -->
</div> </div>
</template> </template>
...@@ -49,6 +51,16 @@ ...@@ -49,6 +51,16 @@
margin-left: 67px; margin-left: 67px;
text-indent: 20px; text-indent: 20px;
} }
.copyright {
box-sizing: border-box;
width: 100%;
height: 30px;
line-height: 30px;
text-align: center;
position: absolute;
top: calc(100vh - 30px);
padding-left: 250px;
}
} }
</style> </style>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment