mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(action-sheet): subheader no longer overlaps action sheet buttons (#23318)
resolves #23316
This commit is contained in:
@ -23,7 +23,7 @@
|
|||||||
.action-sheet-title {
|
.action-sheet-title {
|
||||||
@include padding($action-sheet-md-title-padding-top, $action-sheet-md-title-padding-end, $action-sheet-md-title-padding-bottom, $action-sheet-md-title-padding-start);
|
@include padding($action-sheet-md-title-padding-top, $action-sheet-md-title-padding-end, $action-sheet-md-title-padding-bottom, $action-sheet-md-title-padding-start);
|
||||||
|
|
||||||
height: $action-sheet-md-title-height;
|
min-height: $action-sheet-md-title-height;
|
||||||
|
|
||||||
color: var(--color, $action-sheet-md-title-color);
|
color: var(--color, $action-sheet-md-title-color);
|
||||||
|
|
||||||
|
@ -70,6 +70,7 @@
|
|||||||
const mode = Ionic.mode;
|
const mode = Ionic.mode;
|
||||||
await openActionSheet({
|
await openActionSheet({
|
||||||
header: "Albums",
|
header: "Albums",
|
||||||
|
subHeader: 'This is a sub header inside of an action sheet',
|
||||||
buttons: [{
|
buttons: [{
|
||||||
text: 'Delete',
|
text: 'Delete',
|
||||||
role: 'destructive',
|
role: 'destructive',
|
||||||
|
Reference in New Issue
Block a user