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

Remove some unnecessary admin JS #482

Merged
merged 4 commits into from
Nov 23, 2015

Conversation

jhawthorn
Copy link
Contributor

Remove jquery.valign, which we used to vertically align checkbox fields. We can use flexbox for this instead (IE10+).

Remove equalize.js, this was a ham fisted way to increase the height of sidebar <dl> items and fix an issue with floating. Replaced this with a min height for list items in the sidebar and a working clear: for all <dl>.

Removed Modernizr, which we were using as an html5shiv (needed for IE<9). We only support IE10+ and don't need this.

Removed responsive tables because it looked like:

cc @graygilmore

@graygilmore
Copy link
Contributor

👍 The more of these things we can remove now, the easier cleaning up the whole admin will become.

@jhawthorn jhawthorn changed the title Remove some unnecessary JS Remove some unnecessary admin JS Nov 4, 2015
@Senjai
Copy link
Contributor

Senjai commented Nov 4, 2015

👍 :shipit: 🎉 💯

jhawthorn and others added 4 commits November 5, 2015 09:13
This was being used to vertically align some checkboxes. We can do this
using css instead.
This was being used to equalize the hight of all rows in a definition
list. This was only desirable for adding additional whitespace to the
sidebar additional-info lists.

Instead I have given the sidebar lists a min-height of 3em and fixed the
clear float.
Was being used for html5shiv, which we don't need anymore.
This looks fairly broken in both chrome and firefox. We would do better
to fix these properly if we want responsive tables.
@cbrunsdon
Copy link
Contributor

👍

@magnusvk
Copy link
Contributor

👍 thanks for the cleanup @jhawthorn

jhawthorn added a commit that referenced this pull request Nov 23, 2015
Remove some unnecessary admin JS
@jhawthorn jhawthorn merged commit ccb5905 into solidusio:master Nov 23, 2015
@jhawthorn jhawthorn deleted the remove_some_js branch October 17, 2016 23:18
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.

5 participants