mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-28 05:39:34 +08:00
refactor(design): add windicss
This commit is contained in:
@@ -9,7 +9,11 @@
|
||||
@click="handleGoHome"
|
||||
>
|
||||
<img src="../../../assets/images/logo.png" />
|
||||
<div class="ml-2 ellipsis" :class="[`${prefixCls}__title`]" v-show="showTitle">
|
||||
<div
|
||||
class="ml-2 truncate xs:opacity-0 md:opacity-100"
|
||||
:class="`${prefixCls}__title`"
|
||||
v-show="showTitle"
|
||||
>
|
||||
{{ title }}
|
||||
</div>
|
||||
</div>
|
||||
@@ -85,12 +89,7 @@
|
||||
&__title {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
opacity: 0;
|
||||
transition: all 0.5s;
|
||||
|
||||
.respond-to(medium,{
|
||||
opacity: 1;
|
||||
});
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user