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

Remove admin border after edit #1188

Merged
merged 1 commit into from
Mar 25, 2021
Merged

Remove admin border after edit #1188

merged 1 commit into from
Mar 25, 2021

Conversation

erw13n
Copy link
Contributor

@erw13n erw13n commented Mar 17, 2021

After finish Edit, there's a class "container" which is conflict with Bootstrap that cause an issue on Full-width pane.

After finish Edit, there's a class "container" which is conflict with Bootstrap that cause an issue on Full-width pane.
@dnfadmin
Copy link

dnfadmin commented Mar 17, 2021

CLA assistant check
All CLA requirements met.

@hishamco
Copy link
Contributor

Could you please share a GIF to see the UI issue on action?

@sbwalker
Copy link
Member

sbwalker commented Mar 17, 2021

This behavior is by design. If you want to change the default user experience you should override the CSS class in your theme - not modify core code.

@erw13n
Copy link
Contributor Author

erw13n commented Mar 17, 2021

ezgif-7-a903b4ede41d

@erw13n
Copy link
Contributor Author

erw13n commented Mar 17, 2021

Indeed, we can just overwrite the CSS.
But I would suggest to set _useadminborder to false instead of changing the CSS class.

@sbwalker
Copy link
Member

I will have to take a closer look at this as I am concerned that this change will have an adverse effect on themes which do not use full-width panes.

@sbwalker
Copy link
Member

After further testing I think your fix is in fact the correct solution. Thank you for sharing!

@sbwalker sbwalker merged commit 095d2e5 into oqtane:dev Mar 25, 2021
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

Successfully merging this pull request may close these issues.

4 participants