Skip to content

Commit 4718af9

Browse files
committed
fix: static logo
1 parent abc8901 commit 4718af9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

β€Žsrc/components/global.less

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,8 @@ body {
354354
z-index: 10;
355355
height: auto;
356356

357-
.ant-layout-sider-children {
357+
.ant-layout-sider-children {
358+
padding-top: 64px;
358359
overflow-y: hidden;
359360
&:hover{
360361
overflow-y: auto;
@@ -367,14 +368,18 @@ body {
367368
}
368369

369370
.logo {
371+
position: absolute;
372+
top: 0;
373+
left: 0;
374+
width: 100%;
370375
height: 64px;
371-
position: relative;
372376
line-height: 64px;
373377
padding-left: 24px;
374378
-webkit-transition: all .3s;
375379
transition: all .3s;
376380
background: #002140;
377381
overflow: hidden;
382+
z-index: 9;
378383

379384
img, svg, h1 {
380385
display: inline-block;

0 commit comments

Comments
Β (0)