Skip to content

Commit

Permalink
fix(styling): fix css classes
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Aug 15, 2023
1 parent 2a57644 commit 9d7b9d6
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion addon/components/category-nav/category.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<li class="category-nav--category" ...attributes>
<li class="category-nav__category" ...attributes>
<div
class="uk-link-reset {{if @selected "active"}}"
tabindex="0"
Expand Down
2 changes: 1 addition & 1 deletion addon/components/category-nav/category/skeleton.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<li class="category-nav--category" ...attributes>
<li class="category-nav__category" ...attributes>
<a href="#" disabled data-test-link>
<div class="uk-flex uk-flex-middle">
<div>
Expand Down
14 changes: 13 additions & 1 deletion app/styles/components/_document-grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,19 @@
justify-content: center;
padding-bottom: 15px;

& .empty {
&.empty {
grid-column: 1 end;
}

&--dragover {
border: 1px solid $alert-primary-color;
}

&--disallowed {
border-color: $alert-danger-color;

& > button {
background-color: $alert-danger-color;
}
}
}
11 changes: 0 additions & 11 deletions app/styles/components/_document-view.scss

This file was deleted.

2 changes: 1 addition & 1 deletion app/styles/components/category-nav/_category.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
background: $background-default-background;
}

.uk-nav .category-nav--category > div {
.uk-nav .category-nav__category > div {
transition:
background $animation-duration,
box-shadow $animation-duration,
Expand Down

0 comments on commit 9d7b9d6

Please sign in to comment.