update logo style
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
<div class="tui-app-shell" :class="{ 'is-rail': showRail }" :style="shellStyle">
|
||||
<nav v-if="showRail" class="rail" aria-label="主导航">
|
||||
<div v-if="logoText || $slots.logo" class="logo">
|
||||
<slot name="logo">
|
||||
<span v-text="logoText" />
|
||||
</slot>
|
||||
<div class="mark">
|
||||
<slot name="logo">
|
||||
<span v-text="logoText" />
|
||||
</slot>
|
||||
</div>
|
||||
</div>
|
||||
<t-button
|
||||
v-for="item in itemList"
|
||||
@@ -215,9 +217,19 @@ function onTabChange(value: AppShellValue): void {
|
||||
.logo {
|
||||
height: 4.5rem;
|
||||
display: grid;
|
||||
font-size: var(--tui-rail-logo-font-size, 1.25rem);
|
||||
font-weight: 600;
|
||||
place-items: center;
|
||||
font-size: var(--tui-rail-logo-font-size, 1.25rem);
|
||||
|
||||
.mark {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
display: grid;
|
||||
color: var(--td-text-color-anti, #fff);
|
||||
background: var(--td-brand-color);
|
||||
place-items: center;
|
||||
border-radius: .75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.rail-item {
|
||||
|
||||
Reference in New Issue
Block a user