fix: some style problems #5

This commit is contained in:
chenghx
2018-08-14 10:43:13 +08:00
parent 0f846c6ac7
commit ac4177fa52
4 changed files with 14 additions and 6 deletions

View File

@@ -75,6 +75,7 @@ export default {
display: inline-block;
height: 100%;
cursor: pointer;
vertical-align: middle;
i{
font-size: 16px;
color: rgba(0,0,0,.65);

View File

@@ -31,7 +31,7 @@
</a-tabs>
</a-spin>
</template>
<span @click="fetchNotice">
<span @click="fetchNotice" class="header-notice">
<a-badge count="12">
<a-icon style="font-size: 16px; padding: 4px" type="bell" />
</a-badge>
@@ -75,6 +75,14 @@ export default {
}
</script>
<style scoped>
<style lang="less">
.header-notice{
display: inline-block;
transition: all 0.3s;
& :global{
span {
vertical-align: initial;
}
}
}
</style>