Commit f1692a2 1 parent e5ec3e3 commit f1692a2 Copy full SHA for f1692a2
File tree 2 files changed +10
-7
lines changed
src/features/Billing/BillingPanels/ContactInfoPanel
2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @linode/manager " : Fixed
3
+ ---
4
+
5
+ Billing Contact UI Regression caused by MUI Update ([ #9667 ] ( https://github.com/linode/manager/pull/9667 ) )
Original file line number Diff line number Diff line change 1
- import { Box } from 'src/components/Box' ;
2
1
import Grid from '@mui/material/Unstable_Grid2' ;
3
2
import { styled } from '@mui/material/styles' ;
4
3
import countryData from 'country-region-data' ;
@@ -104,7 +103,7 @@ const ContactInformation = (props: Props) => {
104
103
( _country ) => _country . countryShortCode === country
105
104
) ?. countryName ;
106
105
107
- const sxBox = {
106
+ const sxGrid = {
108
107
flex : 1 ,
109
108
maxWidth : '100%' ,
110
109
position : 'relative' ,
@@ -140,7 +139,7 @@ const ContactInformation = (props: Props) => {
140
139
state ||
141
140
zip ||
142
141
country ) && (
143
- < Box sx = { sxBox } >
142
+ < Grid sx = { sxGrid } >
144
143
{ ( firstName || lastName ) && (
145
144
< StyledTypography
146
145
data-qa-contact-name
@@ -170,10 +169,9 @@ const ContactInformation = (props: Props) => {
170
169
{ city && state && ',' } { state } { zip }
171
170
</ StyledTypography >
172
171
< StyledTypography > { countryName } </ StyledTypography >
173
- </ Box >
172
+ </ Grid >
174
173
) }
175
-
176
- < Box sx = { sxBox } >
174
+ < Grid sx = { sxGrid } >
177
175
< StyledTypography
178
176
data-qa-contact-email
179
177
sx = { { wordBreak : 'break-all' } }
@@ -188,7 +186,7 @@ const ContactInformation = (props: Props) => {
188
186
< strong > Tax ID</ strong > { taxId }
189
187
</ StyledTypography >
190
188
) }
191
- </ Box >
189
+ </ Grid >
192
190
</ Grid >
193
191
</ BillingPaper >
194
192
< BillingContactDrawer
You can’t perform that action at this time.
0 commit comments