mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 21:07:27 +00:00
fix: some small ui bugs
This commit is contained in:
parent
d016887eeb
commit
4565eece17
4 changed files with 6 additions and 6 deletions
|
|
@ -32,14 +32,14 @@
|
|||
<div
|
||||
:class="textColor"
|
||||
class="text-base font-semibold"
|
||||
>{{ +(team.teamStats.gold / 1000).toFixed(2) + 'k' }}</div>
|
||||
>{{ +(team.teamStats.gold / 1000).toFixed(1) + 'k' }}</div>
|
||||
<div class="text-white text-xs">gold</div>
|
||||
</div>
|
||||
<div :class="allyTeam ? 'ml-3' : 'mr-3'">
|
||||
<div
|
||||
:class="textColor"
|
||||
class="text-base font-semibold"
|
||||
>{{ +(team.teamStats.dmgChamp / 1000).toFixed(2) + 'k' }}</div>
|
||||
>{{ +(team.teamStats.dmgChamp / 1000).toFixed(1) + 'k' }}</div>
|
||||
<div class="text-white text-xs">dmg</div>
|
||||
</div>
|
||||
<div :class="allyTeam ? 'ml-3' : 'mr-3'" class="flex flex-col justify-end">
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ export default {
|
|||
|
||||
return {
|
||||
backgroundColor: `rgba(${rgb}, ${opacity})`,
|
||||
boxShadow: value === biggestValue ? '#abb4d0 0px 0px 0px 2px inset' : ''
|
||||
boxShadow: value === biggestValue && value !== 0 ? '#abb4d0 0px 0px 0px 2px inset' : ''
|
||||
}
|
||||
},
|
||||
displayBorderbottom(index) {
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
<div class="ml-2 w-champion flex items-center">
|
||||
<div
|
||||
:style="{backgroundImage: `url('https://ddragon.leagueoflegends.com/cdn/${version}/img/champion/${champion._id}.png')`}"
|
||||
class="w-8 h-8 bg-center bg-cover rounded-full flex-shrink-0"
|
||||
class="w-8 h-8 bg-center bg-cover bg-blue-1000 rounded-full flex-shrink-0"
|
||||
></div>
|
||||
<div class="mx-1 truncate">{{ champion.champion }}</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="switch relative z-10 text-teal-400 text-sm select-none">
|
||||
<div class="switch relative z-10 text-teal-400 text-sm select-none leading-tight">
|
||||
<input
|
||||
v-model="selected"
|
||||
id="toggle-on"
|
||||
|
|
@ -59,7 +59,7 @@ export default {
|
|||
|
||||
<style scoped>
|
||||
.switch label {
|
||||
min-width: 50px;
|
||||
min-width: 45px;
|
||||
}
|
||||
|
||||
.selected-label {
|
||||
|
|
|
|||
Loading…
Reference in a new issue