Skip to content

Commit

Permalink
Fix some linting warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-Yorkley committed May 29, 2020
1 parent 93bc963 commit 5a073a2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
11 changes: 6 additions & 5 deletions app/assets/stylesheets/darkswarm/cart-dropdown.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@

table {
width: 100%;
border: none;
border: 0;
border-spacing: 0;
margin: 0;

tr.product-cart {
background-color: white;
background-color: $white;

td {
border-top: 1px solid $grey-100;
padding: 0.75em 1em 0.5em 1em;
padding: 0.75em 1em 0.5em;
vertical-align: top;

&.image {
Expand Down Expand Up @@ -99,10 +99,11 @@
.cart-total {
color: $white;
text-align: center;
margin: -0.5em 0 0.75em 0;
margin: -0.5em 0 0.75em;
}

.sidebar, .sidebar-footer {
.sidebar,
.sidebar-footer {
width: 375px;
margin-right: -375px;

Expand Down
10 changes: 6 additions & 4 deletions app/assets/stylesheets/darkswarm/cart-page.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
@import "variables";

#cart-detail {
.cart-item-delete, .bought-item-delete {
.cart-item-delete,
.bought-item-delete {
a {
font-size: 1.125em;
}
Expand All @@ -14,7 +15,8 @@
color: $clr-brick;
}

button, .button {
button,
.button {
margin: 0;
}

Expand All @@ -38,7 +40,7 @@
.item-thumb-image {
display: none;

@media screen and (min-width: 640px) {
@include breakpoint(phablet) {
display: inline-block;
float: left;
padding-right: 0.5em;
Expand All @@ -52,7 +54,7 @@
padding: 1.125rem 0 1.1875rem;
width: 210px;

@media all and (max-width: 480px) {
@include breakpoint(mobile) {
width: 100%;
}
}
Expand Down
6 changes: 4 additions & 2 deletions app/assets/stylesheets/darkswarm/expanding-sidebar.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,16 @@
}

@include breakpoint(tablet) {
.sidebar, .sidebar-footer {
.sidebar,
.sidebar-footer {
width: $sidebar-medium-width;
margin-right: -$sidebar-medium-width;
}
}

@include breakpoint(mobile) {
.sidebar, .sidebar-footer {
.sidebar,
.sidebar-footer {
width: $sidebar-small-width;
margin-right: -$sidebar-small-width;
}
Expand Down

0 comments on commit 5a073a2

Please sign in to comment.