-
Notifications
You must be signed in to change notification settings - Fork 233
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
BUG: A border on the mj-column is shown twice in the editor #290
Comments
PRs are welcome to fix this, I currently don't have time to look into this myself |
@DRoet does you have any idea to where to start looking for this issue? |
probably related to the changes in #270 which was released in v0.5.7 |
Thanks for looking into this. For me it was not working with v0.6.0:
|
I thought i have found a solution, but it cause bugs to other attributes. |
Even before #270 the border was added to the table inside the div. With the solution of adding the styles to the div the border is being added to both of them. This is whats causing this bug. I'm not finding where this is passed to the inner element. But when you change the padding of the column the element is rendered again and the problem is fixed. Something in the builtin property of border is causing this. Border-radius is also passed to the table and not rendered. |
What browser are you using?
Chrome 102.0.5005.61
Reproducible demo link
https://codepen.io/adiux/pen/BaYrEXR?editors=1111
Describe the bug
How to reproduce the bug?
<mj-column border="4px solid #F45E43">
What is the expected behavior?
![image](https://user-images.githubusercontent.com/13075514/171250244-f96c395b-5a6e-4cde-a7f4-f60d778c9a15.png)
only one border is shown:
What is the current behavior?
![image](https://user-images.githubusercontent.com/13075514/171249926-6ed65f00-c09e-4c0c-a668-94fcc59fca0d.png)
two borders are shown:
If is necessary to execute some code in order to reproduce the bug, paste it here below:
The text was updated successfully, but these errors were encountered: