tweak style

This commit is contained in:
syuilo 2024-09-25 16:07:23 +09:00
parent 5c94b4cb49
commit 5c62cbcca8

View file

@ -39,9 +39,9 @@ SPDX-License-Identifier: AGPL-3.0-only
<div v-if="pendingApiRequestsCount > 0" id="wait"></div> <div v-if="pendingApiRequestsCount > 0" id="wait"></div>
<div v-if="dev" id="devTicker"><span>DEV BUILD</span></div> <div v-if="dev" id="devTicker"><span style="animation: dev-ticker-blink 2s infinite;">DEV BUILD</span></div>
<div v-if="$i && $i.isBot" id="botWarn"><span>{{ i18n.ts.loggedInAsBot }}</span></div> <div v-if="$i && $i.isBot" id="botWarn"><span style="animation: dev-ticker-blink 2s infinite;">{{ i18n.ts.loggedInAsBot }}</span></div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
@ -258,10 +258,6 @@ if ($i) {
font-size: 14px; font-size: 14px;
pointer-events: none; pointer-events: none;
user-select: none; user-select: none;
> span {
animation: dev-ticker-blink 2s infinite;
}
} }
#devTicker { #devTicker {
@ -275,9 +271,5 @@ if ($i) {
font-size: 14px; font-size: 14px;
pointer-events: none; pointer-events: none;
user-select: none; user-select: none;
> span {
animation: dev-ticker-blink 2s infinite;
}
} }
</style> </style>