Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
toolbar.module
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Oct 2013 at 11:12 UTC
Updated:
29 Jul 2014 at 23:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
cr0ss commentedI'm having issues with attaching screenshot right now due to some validation issue d.o is throwing back, but will try upload it later to provide more details on this issue.
Attaching screen by clip2net http://clip2net.com/s/5SrQ8V
Comment #2
Bojhan commentedNot sure if this is by design, assigning to jesse
Comment #3
cr0ss commentedAttaching screenshot.
Comment #4
sam152 commentedComment #5
sam152 commentedThis patch still applies. I would be almost certain that this is not by design and the patch resolves a bug. The equal spacing between the top and right of the icon looks a lot better than what is currently there.
Setting to RTBC unless jessebeach wants to chime in and say otherwise.
Comment #6
webchickLooks like this is more accurately "needs review." I've left Jesse a tell on IRC as well.
Comment #7
jessebeach commentedI like the end result of the changes. I just have a few questions about the code.
I don't believe this
left: 0is necessary. Can you verify that?What padding is this removing? Do you have a theme other than Bartik applied while you're developing? Just trying to determine why you would be zeroing out padding here.
Comment #8
sam152 commentedThis has been stressing out the OCD portion of my brain for ages. So, I arrived at the same end with the attached patch.
I'm not sure what the additional CSS in the previous patch was for. The attached patch was manually tested under all combinations of LTR, RLT & no-svg.
Comment #9
sam152 commentedComment #10
jorgegc commentedLooks good on Chrome and Firefox on OSX both LTR and RLT.
RTBC++
Comment #11
jessebeach commentedSorry to be a nudge about this :)
If we remove the
left:0property from the LTR declarations, then we don't need to reset it in the RTL declarations. So, it seems like the RTL declarations here aren't even needed. And any time we can remove CSS, let's do it.Comment #12
sam152 commentedGood catch! Should have seen that, thanks for the review. Another patch is attached. Can confirm things are working LTR and RTL.
Comment #13
jessebeach commentedGreat, thank you for sticking with this issue Sam152.
The updated patch realigns the icons nicely. I did some cross browser testing to verify no visual regressions.
Comment #15
alexpottCommitted 08c18e1 and pushed to 8.x. Thanks!