#5033 closed defect (bug) (fixed)
Capabilities table is formatted in a bad way
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | HelpHub (wordpress.org/documentation) | Keywords: | has-screenshots has-patch |
Cc: |
Description
The capabilities table here
https://wordpress.org/support/article/roles-and-capabilities/#capability-vs-role-table
is ugly and unreadable. Let's patch it please.
I have a little CSS to share that's hopefully helping
table { font-size: 80%; } th { transform: rotate(-67deg); text-align: center; padding: 24px 0 25px 12px; } td:not(:first-child) { text-align: center; }
Attachments (3)
Change History (14)
#2
@
5 years ago
- Summary changed from Cpabilities table is formatted in a bad way to Capabilities table is formatted in a bad way
#5
@
5 years ago
The padding you have added definitely makes it look better. I think we would want to avoid having the table with an overflow.
On the other side, would we consider removing the table? Is it still providing value with since the roles and capabilities are outline above?
This ticket was mentioned in Slack in #docs by zzap. View the logs.
5 years ago
#8
@
5 years ago
- Owner set to coffee2code
- Resolution set to fixed
- Status changed from new to closed
In 9820:
#9
@
5 years ago
I have reloaded the page, refreshed the CSS (via bookmarklet), and I still don't see the change.
Also, the patch didn't address all the problems, or make much change (background color and centering, but not rotating the headings or reducing font size).
And the existing table is still hard to read, unlike the original which had some color showing the roles easily.
#10
@
5 years ago
I'd further add st. like:
th { font-size: 13px; height: 100px; font-weight: 800; }
Oh no, please disregard this. I had some custom CSS active on the page and was not seeing your patch.
Note: Whatever will be done here should be limited to this specific table, otherwise pages like https://wordpress.org/about/history/ could be damaged.