Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Padding error with system level extensions #17929

Open
3 tasks
Jont828 opened this issue Apr 22, 2024 · 1 comment
Open
3 tasks

Padding error with system level extensions #17929

Jont828 opened this issue Apr 22, 2024 · 1 comment
Labels
bug Something isn't working component:ui User interfaces bugs and enhancements

Comments

@Jont828
Copy link

Jont828 commented Apr 22, 2024

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

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

To Reproduce

Create a system level extension with some text to see that it does renders with extra padding from the left.

Expected behavior

I would like to have my content rendered next to the side bar with no extra padding so that I can use all of the space provided like this:

image

Screenshots

Version
Note that I'm developing using make start-local off of master branch.

argocd: v2.10.2+unknown
  BuildDate: 2024-03-04T01:58:25Z
  GitCommit:
  GitTreeState:
  GitTag: 2.10.2
  GoVersion: go1.22.0
  Compiler: gc
  Platform: linux/amd64

Logs

Paste any relevant application logs here.
@Jont828 Jont828 added the bug Something isn't working label Apr 22, 2024
@Jont828
Copy link
Author

Jont828 commented Apr 22, 2024

I believe we should be able to fix this just by deleting this block which renders the extra padding for extensions.

@jannfis jannfis added the component:ui User interfaces bugs and enhancements label Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:ui User interfaces bugs and enhancements
Projects
None yet
Development

No branches or pull requests

2 participants