mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-05 18:38:09 +01:00
ui: offers responsive ui
ui: offers avoid squishing tiles
This commit is contained in:
@@ -332,7 +332,7 @@ displayCoinData: (coin, data) => {
|
||||
if (coin === 'BTC') {
|
||||
btcPriceDiv.style.display = 'none';
|
||||
} else {
|
||||
priceBtcElement.textContent = isError ? 'N/A' : `${priceBTC.toFixed(8)} BTC`;
|
||||
priceBtcElement.textContent = isError ? 'N/A' : `${priceBTC.toFixed(8)}`;
|
||||
btcPriceDiv.style.display = 'flex';
|
||||
}
|
||||
}
|
||||
@@ -460,7 +460,7 @@ displayCoinData: (coin, data) => {
|
||||
if (price < 0.001) return price.toFixed(8);
|
||||
if (price < 1) return price.toFixed(4);
|
||||
if (price < 1000) return price.toFixed(2);
|
||||
return price.toFixed(1);
|
||||
return price.toFixed(0);
|
||||
},
|
||||
|
||||
setActiveContainer: (containerId) => {
|
||||
|
||||
Reference in New Issue
Block a user