Skip to content

Commit

Permalink
Add margin to prevent "Clear all btn" from moving fix #2062
Browse files Browse the repository at this point in the history
 I add margin to `.bx--btn` class to prevent "Clear all btn" from
 moving.
 The "filter" has  `.bx--tag` class and the "Clear All button" has
 `.bx--btn` class.
 `.bx--tag` class has margin but `.bx--btn` class has not margin. So,
 there was a gap between when there was a "filter" on the left and when
 there was no "filter".
 fix #2062
  • Loading branch information
yamaken1343 committed Oct 18, 2021
1 parent 3e96d84 commit b57c1e7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ limitations under the License.
flex-shrink: 0;
margin: $spacing-05 $spacing-03 0 0;
}

.bx--btn {
margin-top: calc(#{$spacing-04} - 1px );
}
}
}

Expand Down

0 comments on commit b57c1e7

Please sign in to comment.