#31898 closed defect (bug) (fixed)
Icons in selection view have two blue borders
Reported by: | iseulde | Owned by: | helen |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Media | Keywords: | has-patch commit |
Focuses: | ui | Cc: |
Description (last modified by )
From the Insert Media modal, when you select media that only have icons for a preview (such as PDFs), the icon in the selection list at the bottom of the modal has a double border.
See screenshots.
Attachments (15)
Change History (30)
#1
@
10 years ago
- Description modified (diff)
- Focuses ui added
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 4.2
#3
@
10 years ago
Confirmed here too - I was able to replicate that on all browsers I've tested on.
Attached a patch that addresses the 2 issues:
- Double border for non-image selection icons;
- Vertical centering of the non-image selection icons within their bounding box.
#4
@
10 years ago
- Milestone changed from 4.2 to Future Release
- Version changed from trunk to 4.0
My badness, this goes all the way back to 4.0 as aptly pointed out by @iseulde. Let's look at this in 4.3 instead.
#5
@
10 years ago
Just to mention that the patch I've submitted above resolves the focus style issue as well.
#10
@
10 years ago
Hey @iseulde,
Patch .2 not quite working for me - there's still a double border, and a weird box shadow.
Patch .3 does work for me, but it makes too many changes IMHO, and adds a constant double border as well, which I'd personally avoid. Also, previously the blue border of the selected state was outside of the item's border, making the selected item more easy to notice. With your patch, the selected blue border is using the item border, which looks fine, but it would probably need UI feedback, as it changes the current appearance a bit. I personally like the previous one more, with the border being outside - my patch compliments that previous appearance.
I still think my patch is doing the job while doing as little changes as needed.
#11
@
10 years ago
Also, previously the blue border of the selected state was outside of the item's border, making the selected item more easy to notice. With your patch, the selected blue border is using the item border, which looks fine, but it would probably need UI feedback, as it changes the current appearance a bit.
It uses box shadow and moves it from inside the box to outside the box.
and adds a constant double border as well
It does not add it, it just moves it outside, like the attachments in the browser. It may be better without it. I will look at the original design.
4.1