Skip to content

Commit 8d64a9f

Browse files
committed
fix badge text position and background color
1 parent 30dab62 commit 8d64a9f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

libs/remix-ui/run-tab-deploy/src/lib/widgets/deployPortraitView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ function DeployPortraitView() {
777777
tooltipText={widgetState.gasLimit === 0 ? intl.formatMessage({ id: 'udapp.gasLimitBadgeAutoTooltip', defaultMessage: 'Click to set custom gas limit' }) : intl.formatMessage({ id: 'udapp.gasLimitBadgeCustomTooltip', defaultMessage: 'Click to use auto estimated gas' })}
778778
>
779779
<span
780-
className="p-1 pt-0 rounded"
780+
className="p-1 rounded"
781781
style={{
782782
position: 'absolute',
783783
left: '0.5rem',

libs/remix-ui/run-tab-deployed-contracts/src/lib/components/DeployedContractItem.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ Before generating, please ask me about my design preferences first.`
10441044
style={{
10451045
position: 'absolute',
10461046
left: '0.35rem',
1047-
top: '50%',
1047+
top: '35%',
10481048
transform: 'translateY(-50%)',
10491049
backgroundColor: '#64C4FF14',
10501050
color: '#64c4ff',
@@ -1081,6 +1081,7 @@ Before generating, please ask me about my design preferences first.`
10811081
}}
10821082
disabled={gasLimit === 0}
10831083
style={{
1084+
backgroundColor: themeQuality === 'dark' ? 'var(--custom-onsurface-layer-4)' : 'var(--bs-body-bg)',
10841085
color: 'var(--dark/text-quaternary, #959bad)',
10851086
flex: 1,
10861087
paddingLeft: '4rem',

0 commit comments

Comments
 (0)