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

Commit 94f20cc

Browse files
style(dialog): Define a min-height mixin for dialog.
PiperOrigin-RevId: 476185168
1 parent d3344c1 commit 94f20cc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/mdc-dialog/_mixins.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,16 @@
702702
}
703703
}
704704

705+
@mixin min-height($min-height, $query: feature-targeting.all()) {
706+
$feat-structure: feature-targeting.create-target($query, structure);
707+
708+
.mdc-dialog__surface {
709+
@include feature-targeting.targets($feat-structure) {
710+
min-height: $min-height;
711+
}
712+
}
713+
}
714+
705715
@mixin max-width-with-breakpoint(
706716
$above-breakpoint-max-width,
707717
$below-breakpoint-max-width,

0 commit comments

Comments
 (0)