Skip to content

Commit

Permalink
[4.0] Fix jQuery Minicolors positioning (#22628)
Browse files Browse the repository at this point in the history
* Fix jQuery Minicolors positioning

* Hound
  • Loading branch information
C-Lodder authored and wilsonge committed Oct 15, 2018
1 parent 860d71f commit 29ad505
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions administrator/templates/atum/scss/template.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
// Alert
@import "../../../../build/media/system/scss/jalert";

// jQuery Minicolors
@import "../../../../build/media/system/scss/jquery-minicolors";

// Blocks
@import "blocks/global"; // Leave this first
@import "blocks/alerts";
Expand Down
8 changes: 8 additions & 0 deletions build/media/system/scss/_jquery-minicolors.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Overrides for jQuery Minicolors

.minicolors-theme-bootstrap .minicolors-swatch {
top: 50%;
left: 8px;
border-radius: 0;
transform: translateY(-50%);
}
3 changes: 3 additions & 0 deletions templates/cassiopeia/scss/template.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
// Alert
@import "../../../build/media/system/scss/jalert";

// jQuery Minicolors
@import "../../../build/media/system/scss/jquery-minicolors";

// Blocks
@import "blocks/global"; // Leave this first
@import "blocks/alerts";
Expand Down

0 comments on commit 29ad505

Please sign in to comment.