Make WordPress Core

Opened 10 years ago

Closed 8 years ago

#27813 closed enhancement (fixed)

Dashboard: A little unclickable area between links and icon in "At a Glance" dashboard widget.

Reported by: 5um17's profile 5um17 Owned by: afercia's profile afercia
Milestone: 4.5 Priority: normal
Severity: normal Version: 3.8
Component: Administration Keywords: has-patch has-screenshots
Focuses: ui Cc:

Description

There is some space between link and icon which is not clickable, it is because of using 5px margin between them. Instead of margin applying 5px padding makes it to behave like icon are wrapped in A tag.

Attachments (3)

dashboard.jpg (111.4 KB) - added by 5um17 10 years ago.
dashboard.css.patch (388 bytes) - added by 5um17 10 years ago.
27813.patch (3.9 KB) - added by afercia 8 years ago.

Download all attachments as: .zip

Change History (7)

@5um17
10 years ago

#1 @afercia
9 years ago

Thanks very much @5um17 I would suggest to handle this in #29897 which tries to take care of all Dashboard styling issues.

#2 @swissspidy
8 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to Future Release

#29897 didn't handle this; patch still applies.

@afercia
8 years ago

#3 @afercia
8 years ago

  • Keywords has-screenshots added
  • Milestone changed from Future Release to 4.5
  • Owner set to afercia
  • Status changed from new to assigned
  • Version changed from 3.7 to 3.8

5um17 right, padding should be used instead of margin. Also, comparing the icons in the Welcome panel with the ones in the "At a Glance" panel, there are other differences which explain the inconsistencies in the focus style, see the screenshot below before and after the new patch. I'd suggest to pair as much as possible the rules for the icons, this would also allow to clean a bit the CSS.

https://cldup.com/JPtkZPN4Ng.png

#4 @afercia
8 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 35894:

Dashboard: remove not clickable spaces between icons and links in the "At a Glance" panel. Also, some CSS cleanup.

Props 5um17 for the initial patch.
Fixes #27813.

Note: See TracTickets for help on using tickets.