Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
refactor(select): Remove fullwidth property
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 317731796
  • Loading branch information
allan-chen authored and copybara-github committed Jun 22, 2020
1 parent 09abc92 commit 69f9f09
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
5 changes: 0 additions & 5 deletions packages/mdc-select/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,6 @@ same.
</div>
```

### Fullwidth Select

The Select Fullwidth variant takes up the entirety of the width of its parent container. To use this variant, place the
`mdc-select--fullwidth` modifier class on the root element.

### Additional Information

#### Select with pre-selected option
Expand Down
15 changes: 0 additions & 15 deletions packages/mdc-select/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,6 @@

@include text_($query: $query);

.mdc-select--fullwidth {
@include fullwidth_($query: $query);
}

.mdc-select--outlined {
@include outlined_($query: $query);
}
Expand Down Expand Up @@ -839,17 +835,6 @@
}
}

///
/// Sets the select to take the full width of its parent container.
///
@mixin fullwidth_($query: feature-targeting-functions.all()) {
$feat-structure: feature-targeting-functions.create-target($query, structure);

@include feature-targeting-mixins.targets($feat-structure) {
width: 100%;
}
}

/// Adds horizontal padding to the selected text
///
/// @param {Number} $left - left side padding
Expand Down

0 comments on commit 69f9f09

Please sign in to comment.