1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 22:24:27 +01:00
metamask-extension/ui/components/app/edit-gas-fee-button/index.scss
Ariella Vu e06e5599bb
EditGasFeeBtn: Insufficient number of substitutions for key "dappSuggestedTooltip" (#14734)
* EditGasFeeBtn: support missing origin dappSuggest

* EditGasFeeButton: add tooltip min-width

* EditGasFeeButton: tooltip min-width needs extra px

* EditGasFeeBtb: tooltip min-width add a bit more px
2022-05-23 15:04:54 -05:00

57 lines
881 B
SCSS

.edit-gas-fee-button {
display: flex;
align-items: baseline;
justify-content: flex-end;
button {
@include H7;
display: flex;
align-items: baseline;
color: var(--color-primary-default);
background: transparent;
border: 0;
padding-inline-end: 0;
white-space: pre;
}
i {
color: var(--color-primary-default);
margin-right: 2px;
}
&__icon {
font-size: 16px;
margin-right: 4px;
}
&__label {
font-size: 12px;
margin-right: 8px;
}
.info-tooltip {
align-self: center;
margin-left: 6px;
}
&__tooltip {
p {
color: var(--color-text-alternative);
}
b {
color: var(--color-text-default);
display: inline-block;
min-width: 60%;
}
}
}
// Overrides react-tippy
.tippy-tooltip .tippy-tooltip-content .edit-gas-fee-button__tooltip {
min-width: 170px;
}