Skip to content

Commit

Permalink
Merge pull request #1041 from knod/code-style-17
Browse files Browse the repository at this point in the history
Removes `!important` from index.css wherever possible.
  • Loading branch information
knod committed Dec 5, 2018
2 parents 0d478f9 + edd3f57 commit d172e38
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Used to fill vertical space.
`height: 100%` doesn't work with Flexbox on Mobile Safari.
*/
.flex-column {
display: flex!important;
display: flex;
flex-direction: column;
}
.flex-item {
Expand All @@ -122,7 +122,7 @@ Used to fill vertical space.

.ui.form h4.ui.header.cashflow-column,
.ui.form .cashflow .cashflow-column {
margin-right: .2em !important;
margin-right: .2em;
width: 7em;
text-align: center;
}
Expand Down Expand Up @@ -547,8 +547,8 @@ i.icon.details-icon {
/* HomePage.js styles */

#HomePage {
background-image: url(./images/splash.svg) !important;
background-size: cover !important;
background-image: url(./images/splash.svg);
background-size: cover;
flex: 1 0;
display: flex;
flex-direction: column;
Expand Down Expand Up @@ -706,7 +706,7 @@ PRINTING STYLES
}

#App .footer_segment {
background: transparent !important;
background: transparent;
}

#App .footer_segment a,
Expand All @@ -723,7 +723,7 @@ SMALL SCREEN
*/
@media only screen and (max-width: 767px) {
#alwaysLeftButtons {
/* Fighting semantic-ui */
/* Fighting semantic-ui that use `!important` at this width */
margin-right: 0!important;
margin-left: 0!important;
}
Expand Down

0 comments on commit d172e38

Please sign in to comment.