mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
Fixes: colors in RecentActivity and user-select of regions' Dropdown
This commit is contained in:
parent
47b0c282d6
commit
a2105afdcc
2 changed files with 5 additions and 5 deletions
|
|
@ -95,13 +95,13 @@ export default {
|
|||
},
|
||||
getCaseColor(nbMatches) {
|
||||
/* TODO: change this */
|
||||
if (nbMatches > 5) {
|
||||
if (nbMatches >= 6) {
|
||||
return "bg-teal-200";
|
||||
} else if (nbMatches > 4) {
|
||||
} else if (nbMatches >= 4) {
|
||||
return "bg-teal-300";
|
||||
} else if (nbMatches > 3) {
|
||||
} else if (nbMatches >= 2) {
|
||||
return "bg-teal-400";
|
||||
} else if (nbMatches > 1) {
|
||||
} else if (nbMatches >= 1) {
|
||||
return "bg-teal-500";
|
||||
}
|
||||
return "bg-teal-700";
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
:class="{'bg-teal-600' : dropdown}"
|
||||
class="cursor-pointer flex items-center px-2 py-1 rounded transition-all transition-fast ease-in-quad ease-out-quad hover:text-white"
|
||||
>
|
||||
<span class="selected font-bold">{{ selectedRegion }}</span>
|
||||
<span class="selected font-bold select-none">{{ selectedRegion }}</span>
|
||||
<v-icon name="caret-down" class="ml-1"></v-icon>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue