fix: fixed ratings reward alignment

This commit is contained in:
TresAbhi committed 2023-08-09 00:35:33 +00:00
1 parent 270a3051b7
commit d511cfa4cc
2 files changed
+17 -2

No files matched your search

+14
View File
@@ -178,3 +178,17 @@ export const ownedTanksCommand: CommandRegistry = {
autocomplete: autocompleteUsername,
};
// TODO: make this work in the future
// console.log('Caching tank images...');
// TANKS.then((tanks) =>
// jsxToSvg(
// <div style={{ display: 'flex' }}>
// {tanks.map(({ images, tank_id }) => {
// return (
// images.normal && <img key={tank_id} src={images.normal} width={0} />
// );
// })}
// </div>,
// ),
// ).then(() => console.log('Cached tank images'));
@@ -109,7 +109,7 @@ export function Item({
flex: 1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
justifyContent: 'flex-end',
gap: 4,
}}
>
@@ -140,7 +140,8 @@ export function Item({
display: 'flex',
gap: 4,
alignItems: 'center',
justifyContent: 'center',
width: 96,
justifyContent: 'flex-end',
}}
>
{deltaScore !== 0 && deltaScore !== undefined && (