Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkboxes should not appear to be centrally-aligned #206

Closed
wants to merge 1 commit into from
Closed

Checkboxes should not appear to be centrally-aligned #206

wants to merge 1 commit into from

Conversation

murdoch
Copy link
Contributor

@murdoch murdoch commented Nov 10, 2015

Problem

All form input elements have the following SCSS applied:

  input,
  select,
  .selectize-control {
    @include span-columns(4 of 12);
  }

This causes check-boxes to appear in the middle of their columns, see the pic:

screenshot from 2015-11-10 03-37-16

Solution

The world is just not ready for centrally-aligned check-boxes, so I have added width: auto to check-box inputs to ensure that they appear left aligned, see the next pic:

screenshot from 2015-11-10 03-53-10

I have read the contributing guidelines, and can't really think of a way to test this, besides visual inspection.

@c-lliope c-lliope added this to the v0.1.2 milestone Nov 12, 2015
@c-lliope c-lliope added the ready label Nov 12, 2015
@c-lliope
Copy link
Contributor

c-lliope commented Dec 9, 2015

@murdoch Thanks! It looks like Chrome (my primary browser) fixed this automatically, so I didn't notice it.

@c-lliope
Copy link
Contributor

c-lliope commented Dec 9, 2015

Merged in as 2e5981c. Thanks!

@c-lliope c-lliope closed this Dec 9, 2015
@c-lliope c-lliope removed the ready label Dec 9, 2015
c-lliope added a commit that referenced this pull request Dec 9, 2015
Changes:

```
* [#251] [FEATURE] Raise a helpful error when an attribute is missing from
  `ATTRIBUTE_TYPES`
* [#298] [FEATURE] Support ActiveRecord model I18n translations
* [#312] [FEATURE] Add a `nil` option to `belongs_to` form fields
* [#231] [UI] Fix layout issue on show page where a long label next to an empty
  value would cause following fields on the page to be mis-aligned.
* [#309] [UI] Fix layout issue in datetime pickers where months and years
  would not wrap correctly.
* [#306] [UI] Wrap long text lines (on word breaks) on show pages
* [#214] [UI] Improve header layout when there is a long page title
* [#198] [UI] Improve spacing around bottom link in sidebar
* [#206] [UI] Left-align checkboxes in boolean form fields
* [#315] [UI] Remove the `IDS` suffix for `HasMany` form field labels
* [#259] [BUGFIX] Make installation generator more robust
  by ignoring dynamically generated, unnamed models
* [#243] [BUGFIX] Fix up a "Show" button on the edit page that was not using the
  `display_resource` method.
* [#248] [BUGFIX] Improve polymorphic relationship's dashboard class detection.
* [#247] [BUGFIX] Populate `has_many` and `belongs_to` select boxes
  with the current value of the relationship.
* [#217] [I18n] Dutch
* [#263] [I18n] Swedish
* [#272] [I18n] Danish
* [#270] [I18n] Don't apologize about missing relationship support.
* [#237] [I18n] Fix broken paths for several I18n files (de, es, fr, pt-BR, vi).
* [#266] [OPTIM] Save a few database queries by using cached counts
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants