fix: logo宽度固定
This commit is contained in:
@@ -199,7 +199,7 @@ document.addEventListener('visibilitychange', function () {
|
||||
<img
|
||||
class="logo-icon"
|
||||
:src="appStore.getLOGOIcon"
|
||||
:alt="t('common.title')"
|
||||
:alt="appStore.appName"
|
||||
:title="appStore.appName"
|
||||
/>
|
||||
<h1 class="title" :title="appStore.appName">
|
||||
@@ -210,7 +210,7 @@ document.addEventListener('visibilitychange', function () {
|
||||
<img
|
||||
:class="{ 'logo-brand': proConfig.layout !== 'side' }"
|
||||
:src="appStore.getLOGOBrand"
|
||||
:alt="t('common.title')"
|
||||
:alt="appStore.appName"
|
||||
:title="appStore.appName"
|
||||
/>
|
||||
</template>
|
||||
@@ -279,6 +279,7 @@ document.addEventListener('visibilitychange', function () {
|
||||
<style lang="less" scoped>
|
||||
.logo-icon {
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
vertical-align: middle;
|
||||
border-style: none;
|
||||
border-radius: 6.66px;
|
||||
|
||||
@@ -348,6 +348,7 @@ function fnChangeLocale(e: any) {
|
||||
|
||||
.logo-icon {
|
||||
height: 48px;
|
||||
width: 48px;
|
||||
margin-right: 16px;
|
||||
vertical-align: top;
|
||||
border-style: none;
|
||||
|
||||
@@ -258,6 +258,7 @@ onMounted(() => {
|
||||
|
||||
& > img {
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
vertical-align: middle;
|
||||
border-style: none;
|
||||
border-radius: 6.66px;
|
||||
|
||||
Reference in New Issue
Block a user