File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
static/app/views/insights/browser/webVitals/components Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -266,9 +266,14 @@ const Flex = styled('div')<{gap?: number}>`
266
266
flex-wrap: wrap;
267
267
` ;
268
268
269
+ // Issues Button starts to overlap with meter text at 1500px
269
270
const StyledIssuesButton = styled ( LinkButton ) `
270
271
position: absolute;
271
272
right: ${ space ( 1 ) } ;
273
+
274
+ @media (max-width: 1500px) {
275
+ bottom: ${ space ( 1 ) } ;
276
+ }
272
277
` ;
273
278
274
279
// This style explicitly hides InteractionStateLayer when the Issues button is hovered
@@ -279,7 +284,7 @@ const MeterBarContainer = styled('div')<{clickable?: boolean}>`
279
284
position: relative;
280
285
padding: 0;
281
286
cursor: ${ p => ( p . clickable ? 'pointer' : 'default' ) } ;
282
- min-width: 140px ;
287
+ min-width: 180px ;
283
288
284
289
:has(${ StyledIssuesButton } :hover) > ${ InteractionStateLayer } {
285
290
display: none;
@@ -300,6 +305,7 @@ const MeterHeader = styled('div')`
300
305
width: 100%;
301
306
padding: 0 ${ space ( 1 ) } ;
302
307
align-items: center;
308
+ white-space: nowrap;
303
309
` ;
304
310
305
311
const MeterValueText = styled ( 'div' ) `
@@ -312,6 +318,11 @@ const MeterValueText = styled('div')`
312
318
text-align: center;
313
319
padding: 0 ${ space ( 1 ) } ;
314
320
gap: ${ space ( 1 ) } ;
321
+ height: 30px;
322
+
323
+ @media (max-width: 1500px) {
324
+ font-size: ${ p => p . theme . fontSize . lg } ;
325
+ }
315
326
` ;
316
327
317
328
const NoValueContainer = styled ( 'span' ) `
You can’t perform that action at this time.
0 commit comments