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

Commit

Permalink
style(dialog): Define a min-height mixin for dialog.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 476185168
  • Loading branch information
material-web-copybara authored and copybara-github committed Sep 22, 2022
1 parent d3344c1 commit 94f20cc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/mdc-dialog/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,16 @@
}
}

@mixin min-height($min-height, $query: feature-targeting.all()) {
$feat-structure: feature-targeting.create-target($query, structure);

.mdc-dialog__surface {
@include feature-targeting.targets($feat-structure) {
min-height: $min-height;
}
}
}

@mixin max-width-with-breakpoint(
$above-breakpoint-max-width,
$below-breakpoint-max-width,
Expand Down

0 comments on commit 94f20cc

Please sign in to comment.