Center text with respect to parent container, not flexbox

Hello

I'm looking to create a super simple popup that displays the data from an inspection booth. Users would like to both see the recent data, as well as download all of the data to use in excel.

However, I'm not sure how to best center this text, that says "inspection data".

I want the text to be centered to the view (Inline with the "Station Name" label).

Right now, the root container is a column flexbox, and the row with the title and download is a row flexbox. I could add padding to the label, but that feels like a hacky solution.

Is there a better container type for this than a flexbox, or some optimal way to do this?

Do you work with @danielps1818 ?

See this topic:

Nope, although we do seem to be having similar issues, lol!

I suppose I'll set the button width to be fixed, and then just use a corresponding left margin to fix everything up

1 Like