diff --git a/src/assets/logo.svg b/src/assets/logo.svg new file mode 100644 index 0000000..825d4cf --- /dev/null +++ b/src/assets/logo.svg @@ -0,0 +1,12 @@ + + + + 编组 + Created with Sketch. + + + + + + + \ No newline at end of file diff --git a/src/pages/editor/components/Header/index.less b/src/pages/editor/components/Header/index.less index a0d7c95..eed2999 100644 --- a/src/pages/editor/components/Header/index.less +++ b/src/pages/editor/components/Header/index.less @@ -19,13 +19,15 @@ .logo { position: fixed; display: inline-block; - width: 50px; - height: 50px; + width: 120px; + height: 35px; border-radius: 3px; overflow: hidden; - background: url(../../../../assets/logo.png) no-repeat; + background: url(../../../../assets/logo.svg) no-repeat; background-size: contain; line-height: 50px; + margin-top: 7px; + margin-left: -20px; } } .controlArea { @@ -38,3 +40,16 @@ text-align: right; } } +@media screen and (min-width: 1280px) { + .header { + .logoArea { + width: 17%; + } + .controlArea { + width: auto; + } + .btnArea { + width: 30%; + } + } +}