|
@@ -79,20 +79,22 @@ export default {
|
|
|
.sidebar-logo-container {
|
|
|
position: relative;
|
|
|
// width: 100%;
|
|
|
- height: 50px;
|
|
|
+ height: 70px;
|
|
|
line-height: 50px;
|
|
|
background: #2b2f3a;
|
|
|
overflow: hidden;
|
|
|
- margin-left: 12px;
|
|
|
margin-top: 15px;
|
|
|
- width: 400px; /* 固定宽度 */
|
|
|
+ width: 100%; /* 固定宽度 */
|
|
|
overflow: hidden; /* 隐藏超出部分 */
|
|
|
white-space: nowrap; /* 不换行 */
|
|
|
|
|
|
& .sidebar-logo-link {
|
|
|
height: 100%;
|
|
|
width: 100%;
|
|
|
-
|
|
|
+ display: flex !important;
|
|
|
+ flex-direction: column !important;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
& .sidebar-logo {
|
|
|
width: 30px; // 30
|
|
|
height: 30px; // 30
|
|
@@ -106,13 +108,15 @@ export default {
|
|
|
font-weight: 400;
|
|
|
line-height: 50px;
|
|
|
font-size: 18px; // 18
|
|
|
- width: 300px;
|
|
|
+ width: 100%;
|
|
|
font-family: '微软雅黑';
|
|
|
vertical-align: middle;
|
|
|
position: relative; /* 相对定位以便绝对定位子元素 */
|
|
|
white-space: nowrap; // 防止换行
|
|
|
overflow: hidden; // 隐藏溢出部分
|
|
|
- width: calc(100% - 38px);
|
|
|
+ width: calc(100%);
|
|
|
+ text-align: center;
|
|
|
+ padding-left: 0 !important;
|
|
|
}
|
|
|
}
|
|
|
|