Skip to content

Commit

Permalink
Remove u-align-with-btn
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Aug 2, 2024
1 parent 89780ce commit cef853c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 47 deletions.
11 changes: 0 additions & 11 deletions docs/pages/helper-classes-mixins.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,17 +236,6 @@ variation_groups:
variation_group_name: Helper classes
- variation_group_name: Mixins
variations:
- variation_name: '"Align with button" mixin'
variation_description: >-
Align an element vertically with the text within a button that may be
to either side.
_Pass `font-size` as the argument for calculating spacing, default value is `@base-font-size-px`._
`.u-align-with-btn(@font-size: @base-font-size-px);`
variation_code_snippet: ''
- variation_name: '"Flexible proportional containers" mixin'
variation_description: >-
Utilize intrinsic ratios to create a flexible container that retains
Expand Down
12 changes: 0 additions & 12 deletions packages/cfpb-core/src/utilities.less
Original file line number Diff line number Diff line change
Expand Up @@ -125,18 +125,6 @@
white-space: nowrap;
}

//
// Align with button
//

/* stylelint-disable selector-class-pattern */
.u-align-with-btn( @font-size: @base-font-size-px ) {
/* stylelint-enable */
display: inline-block;
line-height: normal;
vertical-align: middle;
}

//
// Flexible proportional containers
//
Expand Down
12 changes: 0 additions & 12 deletions packages/cfpb-core/src/utilities.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,18 +142,6 @@
white-space: nowrap;
}

//
// Align with button
//

/* stylelint-disable selector-class-pattern */
@mixin u-align-with-btn($font-size: $base-font-size-px) {
/* stylelint-enable */
display: inline-block;
line-height: normal;
vertical-align: middle;
}

//
// Flexible proportional containers
//
Expand Down
12 changes: 0 additions & 12 deletions packages/cfpb-core/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -491,18 +491,6 @@ Hides content on screens widths under `601px`.

### Mixins

#### Align with button

Align an element vertically with the text within a button that may be to either
side.

_Pass `font-size` as the argument for calculating spacing, default value is
`@base-font-size-px`._

```
.u-align-with-btn(@font-size: @base-font-size-px);
```

#### Flexible proportional containers

Utilize intrinsic ratios to create a flexible container that retains an aspect
Expand Down

0 comments on commit cef853c

Please sign in to comment.