fix: sidebar logo

This commit is contained in:
0xJacky 2023-05-01 14:22:04 +08:00
parent 4f5259cea6
commit 6adff75728
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
2 changed files with 25 additions and 7 deletions

View file

@ -5,7 +5,6 @@ import logo from '@/assets/img/logo.png'</script>
<div class="logo">
<img :src="logo" alt="logo"/>
<p class="text">Nginx UI</p>
<div class="clear"></div>
</div>
</template>
@ -19,27 +18,23 @@ import logo from '@/assets/img/logo.png'</script>
}
.logo {
padding: 8px 25px;
-webkit-box-shadow: 1px 1px 0 0 #e8e8e8;
box-shadow: 1px 1px 0 0 #e8e8e8;
transition: all 0.3s;
height: 64px;
width: 100%;
overflow: hidden;
display: inline-block;
background-color: #ffffff;
img {
height: 46px;
float: left;
}
.text {
float: left;
p.text {
margin: 0;
font-size: 22px;
line-height: 48px;
height: 48px;
display: inline-block;
}
}
</style>