1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-30 16:18:07 +01:00
metamask-extension/ui/components/app/advanced-gas-fee-popover/advanced-gas-fee-input-subtext/index.scss
Elliot Winkler f8f4397339
Degrade gracefully when gas API is down (#13865)
When the gas API is down, the logic we use will no longer compute all of
the data that the gas API returns in order to reduce the burden on
Infura. Specifically, only estimated fees for different priority levels,
as well as the latest base fee, will be available; all other data
points, such as the latest and historical priority fee range and network
stability, will be missing. This commit updates the frontend logic to
account for this lack of data by merely hiding the relevant pieces of
the UI that would otherwise be shown.
2022-03-11 11:59:58 -07:00

28 lines
335 B
SCSS

.advanced-gas-fee-input-subtext {
margin-top: 2px;
color: var(--ui-4);
font-size: $font-size-h8;
&__label {
font-weight: bold;
margin-right: 4px;
}
&__value {
position: relative;
}
&__level {
margin-left: 2px;
}
&__up,
&__down {
padding-top: 2px;
}
img {
margin-right: 8px;
}
}