Opened 4 weeks ago
Closed 3 weeks ago
#62391 closed defect (bug) (invalid)
Category name "preview" breaks admin css
Reported by: | matspeekaboo | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | lowest |
Severity: | trivial | Version: | 6.6.2 |
Component: | Administration | Keywords: | close reporter-feedback |
Focuses: | css | Cc: |
Description
Naming a category preview will break the css/layout in post admin list view. This has to be the least important bug ever reported but so you know. I renamed the category to review which works fine.
Attachments (3)
Change History (9)
#2
@
4 weeks ago
- Name a category "preview"
- Go to post admin view (in this case a CPT)
- Table layout breaks.
Inspect the admin list view, I suspect it's either the class name "preview" or maybe "category-preview" that causes this.
#3
@
4 weeks ago
Thank you for sharing this @matspeekaboo !
I agree that the preview class with the float: right rule is affecting the UI. I tested this on WordPress versions 6.7-RC5, 6.6.2, trunk, and in the playground, but I wasn’t able to reproduce the issue with the category slug as a class name.
Could you try disabling any active plugins or switching themes to see if the issue persists? I also tested it by creating a custom post type (CPT) but couldn’t replicate the problem.
Thanks!
#4
@
4 weeks ago
This is from a customers website so I'm limited to what I can do. I actually couldn't reproduce this issue on a test site either but as you pointed out it's the preview class with float:right that is causing the UI the break.
#5
@
3 weeks ago
- Focuses administration removed
- Keywords close reporter-feedback added
- Priority changed from normal to lowest
Hi @matspeekaboo,
Welcome to Trac!
I am also unable to reproduce this currently. I noticed that the screenshot of the markup includes some extra columns for something called crunchify
. It's likely that there's something in those custom columns or a plugin that is causing this.
To rule out custom columns, you could use the Screen Options at the top right of the screen to uncheck these custom columns and see if that has any impact. It won't stop the CSS or JS of the plugin from being loaded, but it may allow you to determine the cause without disabling plugins.
I'm marking this with a close
suggestion because other contributors have not been able to reproduce this, but will leave it open a bit longer for more details.
#6
@
3 weeks ago
- Resolution set to invalid
- Status changed from new to closed
Hi, thanks.
No it makes no difference if remove crunchify, which actually adds an thumbnail to the column so clearly a suspect. Anyway, the problem is caused by this site in some way, sorry to waste your time on this and by all means close it.
/Mats
Hey @matspeekaboo,
Thank you for reporting this issue! I’m currently unable to reproduce it on my end. Could you please provide the steps to reproduce the bug?
For reference, you might find this template helpful for writing issue reports:
https://make.wordpress.org/test/handbook/test-reports/testing-instructions/#bug-defect-testing-instructions-template