fix select bridge
This commit is contained in:
@@ -6,4 +6,10 @@
|
||||
font-weight: 800;
|
||||
color: #fff;
|
||||
flex-shrink: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.logo {
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
@@ -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 }}
|
||||
>
|
||||
{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
|
||||
}
|
||||
</div>
|
||||
|
||||
@@ -5,6 +5,6 @@ import tsconfigPaths from 'vite-tsconfig-paths'
|
||||
export default defineConfig({
|
||||
plugins: [react(), tsconfigPaths()],
|
||||
server: {
|
||||
port: 3000,
|
||||
port: Number(process.env.PORT) || 3000,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user