Skip to content

Commit

Permalink
fix(Copy): set font-size after reset (#6585)
Browse files Browse the repository at this point in the history
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tw15egan and kodiakhq[bot] authored Jul 31, 2020
1 parent 4259fca commit 78012c6
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@
}

// TODO: deprecate above styles
.#{$prefix}--copy {
font-size: 0;
}

.#{$prefix}--copy-btn {
@include reset;
Expand Down Expand Up @@ -139,4 +136,9 @@
animation: $duration--fast-02 motion(standard, productive) show-feedback;
}
}

// Needs to come after reset so hidden text is not set to font-size: 100%
.#{$prefix}--copy {
font-size: 0;
}
}

0 comments on commit 78012c6

Please sign in to comment.