Skip to content

Commit

Permalink
tweak style
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo authored and HotoRas committed Sep 27, 2024
1 parent b697aff commit 30faf68
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions packages/frontend/src/ui/_common_/common.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ SPDX-License-Identifier: AGPL-3.0-only

<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>

<script lang="ts" setup>
Expand Down Expand Up @@ -258,10 +258,6 @@ if ($i) {
font-size: 14px;
pointer-events: none;
user-select: none;

> span {
animation: dev-ticker-blink 2s infinite;
}
}

#devTicker {
Expand All @@ -275,9 +271,5 @@ if ($i) {
font-size: 14px;
pointer-events: none;
user-select: none;

> span {
animation: dev-ticker-blink 2s infinite;
}
}
</style>

0 comments on commit 30faf68

Please sign in to comment.