Skip to content

Commit

Permalink
Delete duplicate mixin definitions (#1458)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Mar 4, 2023
1 parent df71c19 commit 320c28d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
2 changes: 1 addition & 1 deletion assets/scss/support/_mixins.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Some simple mixins.
// Mixins

@mixin link-variant($parent, $color, $hover-color, $underline: false) {
#{$parent} {
Expand Down
28 changes: 1 addition & 27 deletions assets/scss/support/_utilities.scss
Original file line number Diff line number Diff line change
@@ -1,30 +1,4 @@
// Mixins

@mixin optional-at-root($sel) {
@at-root #{if(not &, $sel, selector-append(&, $sel))} {
@content;
}
}

@mixin placeholder {
@include optional-at-root("::-webkit-input-placeholder") {
@content;
}

@include optional-at-root(":-moz-placeholder") {
@content;
}

@include optional-at-root("::-moz-placeholder") {
@content;
}

@include optional-at-root(":-ms-input-placeholder") {
@content;
}
}

// Common util classes.
// Common utility classes

.td-border-top {
border: none;
Expand Down

0 comments on commit 320c28d

Please sign in to comment.