fix: some style problems #5

master
chenghx 6 years ago
parent 0f846c6ac7
commit ac4177fa52
  1. 3
      src/components/dashboard/WorkPlace.vue
  2. 1
      src/components/layout/GlobalHeader.vue
  3. 14
      src/components/layout/HeaderNotice.vue
  4. 2
      src/components/page/PageHeader.vue

@ -170,14 +170,13 @@ export default {
} }
</script> </script>
<style lang="less"> <style lang="less" scoped>
.content { .content {
position: relative; position: relative;
top: 4px; top: 4px;
flex: 1 1 auto; flex: 1 1 auto;
color: rgba(0, 0, 0, 0.45); color: rgba(0, 0, 0, 0.45);
line-height: 22px; line-height: 22px;
margin-left: 24px;
.title { .title {
font-size: 20px; font-size: 20px;
line-height: 28px; line-height: 28px;

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

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

@ -69,7 +69,7 @@ export default {
} }
.avatar { .avatar {
flex: 0 1 72px; flex: 0 1 72px;
margin-bottom: 8px; margin:0 24px 8px 0;
& > span { & > span {
border-radius: 72px; border-radius: 72px;
display: block; display: block;

Loading…
Cancel
Save