You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using DjDT on a local project I found that the close button was not working. After digging into it I found the stylesheet I was using for the project (missing.css) was interfering with the positioning on the panel title such that it now fully overlaps the close button and I couldn't click through to the button beneath the heading.
Fixing was as simple as swapping two lines in the template so that the button is rendered after the title h3 element. Is this something that can be included upstream? I didn't look into anything else like messing with z-index, as this just seemed the more natural way to write it.
This change looks obviously correct to me. I suspect creating a testcase with selenium wouldn't be that straightforward? We generally want changes to include tests, but including fixes is still better than not including them.
I'm slightly unclear if we should also ship more CSS overrides anyway, but #2007 would possibly be a more sustainable way to address the issue.
I see the projects already configured to run some tests on selenium. I guess the main issue is that it will pass as things stand without the change, it needs the conflicting css in there to trigger the issue. If I can isolate it to a simple rule that causes the issue I can include that into a variant of the test page template, but as a regression test it would be quite flaky. In that someone could have a different css incompatibility and this test wouldn't necessarily catch it.
I'll do the PR at any rate though, and if its straightforward to include the test I'll do so, but I wont worry too much about it!
When using DjDT on a local project I found that the close button was not working. After digging into it I found the stylesheet I was using for the project (missing.css) was interfering with the positioning on the panel title such that it now fully overlaps the close button and I couldn't click through to the button beneath the heading.
Fixing was as simple as swapping two lines in the template so that the button is rendered after the title h3 element. Is this something that can be included upstream? I didn't look into anything else like messing with z-index, as this just seemed the more natural way to write it.
The text was updated successfully, but these errors were encountered: