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

Fix sidebar vertical alignment #1845

Merged
merged 2 commits into from Apr 13, 2017

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Apr 12, 2017

The sidebar is currently not correctly vertically aligned to the fieldset
it most of the time is displayed with (ie. in the order detail views and
the user detail views).

Use a relatively unit for top margin instead and move the top border to the
heading to respect the column gutter.

Before

order sidebar - before

users sidebar - before

After

order sidebar - after

users sidebar - after

The sidebar is currently not correctly vertically aligned to the fieldset it most of the time is displayed with (ie. in the order detail views and the user detail views).

Use a relatively unit for top margin instead and move the top border to the heading to respect the column gutter.
We use dd and dt elements in the sidebar. Using justified text reduces readability of titles and values with multiple words.
@tvdeyen tvdeyen added this to the 2.2.0 milestone Apr 12, 2017
@tvdeyen tvdeyen added changelog:solidus_backend Changes to the solidus_backend gem type:bug Error, flaw or fault UI labels Apr 12, 2017
@jhawthorn jhawthorn merged commit 8c5e65f into solidusio:master Apr 13, 2017
@jhawthorn jhawthorn changed the title Fix sidebar alignment Fix sidebar vertical alignment Apr 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_backend Changes to the solidus_backend gem type:bug Error, flaw or fault
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants