Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
Seven theme
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Aug 2011 at 15:45 UTC
Updated:
13 Jan 2014 at 22:40 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
karschsp commentedPatch looks good. RTBC.
Comment #2
droplet commentedI want to fix it a long time ago but tables in Drupal are without fixed-width, was though it is drupal style.
14px is the best value for IE I think. but in Firefox is 16px.
(Of course you won't see the diffident because browsers omitted it when width is smaller than content)
Comment #3
Bojhan commentedSorry, to put it back to needs review. But I am not sure, I am right :D - I would love feedback like droplets on how more pixels might be better.
Comment #4
droplet commentedI recheck it again, the actually width of checkbox in IE is 13px. I don't know if any browsers checkbox smaller than this value. A CSS trick is set the width to "1px" that let the browsers calculating the right value (min width) for it.
Comment #5
droplet commentedre-roll patch + #4
Comment #6
Bojhan commentedTested, and it worked.
Comment #7
catchThe first line should be:
" Checkbox have different width size in cross-browsers." reads oddly to me, maybe "Checkboxes have different widths in different browsers"?
Comment #8
droplet commentedComment #9
Bojhan commentedComment #10
dries commentedI'm not sure I understand the documentation. Is the minimum with a hack or a well-documented feature that works across all browsers?
Furthermore, the help text has a couple of grammar issues:
1. 'Checkboxes have' instead of 'Checkbox have'.
2. 'that triggers' instead of 'that trigger'.
Comment #11
joachim commentedCould this be backported to D7?
Comment #12
droplet commentedHow about:
1 pixel isn't a magic value. browsers expand table's column to fit the content. checkout how table width algorithms works: http://www.w3.org/TR/CSS2/tables.html#width-layout
@joachim,
It's theme changes, i bet it won't backport :(
Comment #13
Bojhan commentedCan the comment issues be addressed?
Comment #14
droplet commentedor shorten it to:
Browsers will calculate the best width of TH element.tagging Novice for Doc guy and native speakers. :)
Comment #15
kid_icarus commentedPerhaps this wording documents the change better?
Comment #16
kid_icarus commentedComment #17
bleen commentedThe comment in #15 is much clearer.
Comment #18
catchMakes sense. Committed/pushed to 8.x.
Comment #20
klonosThis was asked before back in #11, but was left unanswered. Can/should this be backported to D7?
Comment #21
sivaji_ganesh_jojodae commented+1 for backporting this to D7.
The content listing page (admin/content) looks good but people listing page (admin/people) has excess of width.
Comment #22
sivaji_ganesh_jojodae commentedHave rerolled the patch #15 for d7.
Comment #23
droplet commentedcan you add back the comments.
Comment #24
sivaji_ganesh_jojodae commentedRerolled with comment.
Comment #25
droplet commentedLooks good. RTBC.
Comment #26
David_Rothstein commentedHas anyone tested this in different browsers? Especially older versions of IE?
It seems relatively safe for backport... especially if it only affects Seven. (However, at least for Drupal 8 I actually can't really figure out why this was done in the Seven theme only. Doesn't the same issue exist for any theme?)
Comment #27
mattih commentedTested on IE8 - everything works as should.
Comment #28
shyamala commentedTried adding patch to simplytest.me got message: "An error occurred while patching the project." Looks like this needs a re-roll.
Comment #29
droplet commented24: 1252206_remove_checkbox_spacing_24.patch queued for re-testing.
Comment #30
parthipanramesh commentedLooks good! I applied this patch and it solves the issue! It looks a lot better now. Thank you!
Comment #31
droplet commentedOh. I have no permission to update this issue, why ??
Anyone could marked it as "Reviewed & tested by the community" ?
Comment #32
lewisnymanI can't either! No idea why
Comment #33
joachim commentedComment #34
David_Rothstein commentedCommitted to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/67ad400
Comment #35
David_Rothstein commentedBy the way, I'm still not sure why this fix is only in the Seven theme, but I guess it's up to some other issue to expand it beyond Seven if necessary.
Thanks for the additional testing (with IE8, etc) in the meantime.