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

Removed Instances of useStyles, Replaced With SCSS #440

Merged
merged 5 commits into from
Aug 5, 2020

Conversation

leon-i
Copy link
Contributor

@leon-i leon-i commented Jul 31, 2020

Resolves #420

Removed all instances of useStyles I could find, including in the sample.js component (thought I'm not sure where that appears in production).

@@ -241,7 +215,6 @@ const SettingsBase = observer((props) => {
required
disabled={true}
aria-required="true"
className={input.root}
style={{ backgroundColor: '#e0e0e0' }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are still quite a few lines like this around (style=[something]) that I think can also be moved to scss files. Especially ones like line 158 of this file where lots of styling is done inline.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@colbymorrison
Copy link
Contributor

Nice! I pushed a commit to remove sample.js since I agree it isn't used anywhere. @ibeckermayer just want to make sure this is ok?

Copy link
Contributor

@ibeckermayer ibeckermayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the change profile modal got thrown off, from
Screen Shot 2020-08-04 at 2 54 13 PM
to
Screen Shot 2020-08-04 at 2 54 53 PM

(Choose File and subtext are off-center, unnecessary grey outline around them)

@ibeckermayer ibeckermayer merged commit 3af8dbe into dev Aug 5, 2020
@ibeckermayer ibeckermayer deleted the convert-to-scss branch August 5, 2020 18:05
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.

Remove all instances of useStyles in exchange for scss
3 participants