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

Broken formatting for TagInput #22

Open
bedapisl opened this issue Aug 3, 2022 · 1 comment
Open

Broken formatting for TagInput #22

bedapisl opened this issue Aug 3, 2022 · 1 comment

Comments

@bedapisl
Copy link

bedapisl commented Aug 3, 2022

Hello,
when using the TagInput it always shows in the middle of the page, ignoring all attempts to align it. Even when running the example script it ignores the Rows and Cols which were used for formatting there, see the attached image:

image

Would you please give me some advice how to fix this and change the location of this element in the page? Thanks a lot

@DinkleMinded
Copy link

Looks like the default is for absolute positioning? Pass an extra wrapperStyle argument to clear those properties:

                dbc.Col(dash_cool_components.TagInput(
                    wrapperStyle={'position':'relative', 'font-size':'100%', 'padding':'0px', 'transform':'translate(0,0)', 'width':'100%', 'left':'0'}
                )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants