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

Toggle field within a Grid breaks alignment #1801

Closed
jackwakefield opened this Issue Feb 23, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@jackwakefield

jackwakefield commented Feb 23, 2018

When adding a Toggle field to a Grid field, this changes the height of the cell and breaks alignment for the other fields.

Changing

.grid-fieldtype .toggle-fieldtype {
    padding: 10px;
}

to

.grid-fieldtype .toggle-fieldtype {
    padding: 3px 10px;
}

Seems to fix this.

localhost_8080_admin_globals_fulfilment-settings laptop 1

@jackmcdade

This comment has been minimized.

Member

jackmcdade commented Feb 23, 2018

Nice one! Will be in the next patch.

@jackmcdade jackmcdade self-assigned this Feb 23, 2018

@jasonvarga jasonvarga closed this Mar 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment