argoproj / argo-ui

Argoproj shared React components
Apache License 2.0
220 stars 178 forks source link

Padding error with system level extensions #548

Closed Jont828 closed 3 months ago

Jont828 commented 4 months ago

I'm developing a system level extension and I'm having an issue where there's a sb-page-wrapper class that has a padding of 230px that shifts my extension to the left as shown in this picture. I'd like to have my extension be able to use the space right next to the black nav bar on the left.

image

There's also another div with style .cd-layout--extension .cd-layout__content--sb-expanded that has padding-left: 230px as well, which leads me to believe there's a bug where we're accidently applying the padding twice.

image

agilgur5 commented 4 months ago

The screenshots look correctly centered, so why do you believe there's a bug?

with style .cd-layout--extension .cd-layout__content--sb-expanded

That sounds specific to Argo CD. This repo is for common UI components between Argo projects and not specific to CD. See also #453

Jont828 commented 4 months ago

Ah, yeah that screenshot is a bad example. It's not being center in that picture, rather the card is wrapping to the next line. Here's another example that might work better. But I can go ahead and try to open something in Argo CD.

image

github-actions[bot] commented 3 months ago

Stale issue message

github-actions[bot] commented 3 months ago

This issue has been closed due to inactivity and lack of information. If you still encounter this issue, please add the requested information and re-open.