fix select bridge

This commit is contained in:
2026-07-02 19:42:26 +03:00
parent 59750206ab
commit ccd05ffb97
3 changed files with 8 additions and 2 deletions

View File

@@ -6,4 +6,10 @@
font-weight: 800; font-weight: 800;
color: #fff; color: #fff;
flex-shrink: 0; flex-shrink: 0;
overflow: hidden;
}
.logo {
border-radius: 50%;
object-fit: cover;
} }

View File

@@ -14,7 +14,7 @@ export function TokenIcon({ letter, color, logo, size = 40 }: Props) {
style={{ background: logo ? 'transparent' : color, width: size, height: size, fontSize: size * 0.45 }} style={{ background: logo ? 'transparent' : color, width: size, height: size, fontSize: size * 0.45 }}
> >
{logo {logo
? <img src={logo} alt={letter} style={{ width: size * 0.7, height: size * 0.7 }} /> ? <img className={styles.logo} src={logo} alt={letter} style={{ width: size, height: size }} />
: letter : letter
} }
</div> </div>

View File

@@ -5,6 +5,6 @@ import tsconfigPaths from 'vite-tsconfig-paths'
export default defineConfig({ export default defineConfig({
plugins: [react(), tsconfigPaths()], plugins: [react(), tsconfigPaths()],
server: { server: {
port: 3000, port: Number(process.env.PORT) || 3000,
}, },
}) })