Skip to content

Commit

Permalink
style: 设置logo背景颜色
Browse files Browse the repository at this point in the history
  • Loading branch information
toimc committed Apr 24, 2022
1 parent 3ac524b commit 1524c2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/layouts/header/CustomHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
:text-color="layout === 'top' ? '#ffffffb3' : '#515a6e'"
:background-color="layout === 'top' ? '#303133' : ''"
>
<img v-if="layout === 'top'" style="height: 30px;" src="@/assets/images/logo.png" />
<img v-if="layout === 'top'" style="height: 30px" src="@/assets/images/logo.png" />
</Menu>
</el-row>
<!-- Actions -->
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/sider/SiderBar.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="transition-all duration-300" :style="{ width: menuWidth }">
<div class="flex items-center justify-center py-3 px-3 h-60px">
<div class="flex items-center justify-center py-3 px-3 h-60px bg-[#282c34]">
<img class="max-h-full" src="@/assets/images/logo.png" />
</div>
<div class="flex flex-row h-[calc(100%-60px)]">
Expand Down

0 comments on commit 1524c2e

Please sign in to comment.