Skip to content

Commit

Permalink
fix: 修复tailwindcss最新版新增的collapse属性与平台class类名冲突
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxian521 committed Oct 27, 2022
1 parent c288d43 commit b69db2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layout/components/sidebar/logo.vue
Expand Up @@ -9,7 +9,7 @@ const { title } = useNav();
</script>

<template>
<div class="sidebar-logo-container" :class="{ collapse: props.collapse }">
<div class="sidebar-logo-container" :class="{ collapses: props.collapse }">
<transition name="sidebarLogoFade">
<router-link
v-if="props.collapse"
Expand Down Expand Up @@ -65,7 +65,7 @@ const { title } = useNav();
}
}
.collapse {
.collapses {
.sidebar-logo {
margin-right: 0;
}
Expand Down

1 comment on commit b69db2f

@xiaoxian521
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.