-
Notifications
You must be signed in to change notification settings - Fork 53
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
DATAUP-246: whitespace changes and reformatting of css files #1872
Conversation
SonarCloud Quality Gate failed. 11 Bugs No Coverage information |
margin-left: 10px; | ||
|
||
/* Not a link anymore, so we disable for now | ||
cursor: pointer; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the spirit of cleaning up comments should we get rid of this as well?
margin: 2px; | ||
margin-left: 10px; | ||
|
||
/* cursor:pointer; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moar comments
color: #FFF; | ||
background-color: #FFF; | ||
text-shadow: none; | ||
/* like mayo on wonderbread */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol
/*background: #eeeded;*/ | ||
margin: 0 auto; | ||
|
||
/* background: #eeeded; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another rando comment
font-size: 1.1em; | ||
|
||
/* max-height: 2.6em; | ||
overflow:hidden; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some more commented out cruft
font-size: 2em; | ||
|
||
/* max-height: 2.6em; | ||
overflow:hidden; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
crufted code
/* overflow-x: hidden; | ||
overflow-y: auto; */ | ||
|
||
/* height: 830px; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chunk of cruft
display: inline-block; | ||
|
||
/* background-color: #2196F3; | ||
color: #BBDEFB; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more crufty code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried reviewing as best I could. Running locally everything looks normal (or as best as I can test with prod services and staging down). Looks like there's some comments trailing in a few of these files that we could clean up (if you still have the energy after this monster) flagged a few that I saw.
|
||
/* .container { */ | ||
|
||
/* max-width: 2000px !important; */ | ||
|
||
/* } */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trash it!
.nav > li > a:focus { | ||
text-decoration: none; | ||
|
||
/* background-color: #fff !important; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we chuck it?
/*margin: 15px 7px 0 0;*/ | ||
display: inline-block; | ||
padding: 0 15px 0 0; | ||
/* margin: 15px 7px 0 0; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here too
/* #select-box tr :hover { | ||
background-color: #eee; | ||
}*/ | ||
} */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another one we can get rid of?
} | ||
|
||
/*div::-webkit-scrollbar { | ||
/* div::-webkit-scrollbar { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we get rid of this chunk too? 130-145 (tried multi-line comment and for some reason it wouldn't)
} | ||
|
||
header[role="banner"] { | ||
/* overflow: auto; | ||
/* overflow: auto; | ||
padding: 7px 0 2px 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this chunk as well and just below have some comments we can get rid of
nav[role="navigation"] ul { | ||
margin: 1.2em 0 0.5em 0; | ||
|
||
/* text-align: center; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dee-lete
position: absolute; | ||
top: 55px; | ||
bottom: 5; | ||
/* width: 1170px; */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commentttt
/* float: left; */ | ||
|
||
/* max-width: 1170px; | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
junk it
} | ||
|
||
/*.left-pane { | ||
/* .left-pane { | ||
font-size: 14px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some more comments we could remove here and generally in this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine to me. This one's all about reformatting, and the other PR (#1879) removes crufty rules and commented out things, right?
@ialarmedalien I tested this out locally, worked fine. It's up to you if you'd like to merge it in or delete more cruft this pass. |
@ialarmedalien Also there are a bunch of sonarcloud issues which are an easy fix, adding a default font family |
@bio-boris I'll add them in a later PR. This one is almost entirely whitespace changes. |
Description of PR purpose/changes
Ran the stylelint css formatter/linter over the codebase to enforce whitespace and formatting; stylelint is one of the code quality checks run by Codacy.
In addition to formatting the css, stylelint also identified a number of empty stanzas, which I removed.
Jira Ticket / Issue
https://kbase-jira.atlassian.net/browse/DATAUP-246
Testing Instructions
Dev Checklist:
Updating Version and Release Notes (if applicable)