mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
fix(action-sheet): set 100% height to fix scrollable options (#16789)
* test(action-sheet): include more buttons to scroll in the screenshot
This commit is contained in:
@ -23,8 +23,8 @@
|
|||||||
--width: #{$action-sheet-width};
|
--width: #{$action-sheet-width};
|
||||||
--max-width: #{$action-sheet-max-width};
|
--max-width: #{$action-sheet-max-width};
|
||||||
--min-height: auto;
|
--min-height: auto;
|
||||||
--height: auto;
|
--height: 100%;
|
||||||
--max-height: auto;
|
--max-height: 100%;
|
||||||
|
|
||||||
@include font-smoothing();
|
@include font-smoothing();
|
||||||
@include position(0, 0, 0, 0);
|
@include position(0, 0, 0, 0);
|
||||||
|
@ -73,11 +73,21 @@
|
|||||||
handler: () => {
|
handler: () => {
|
||||||
console.log('Mark Unread clicked');
|
console.log('Mark Unread clicked');
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
text: 'Mark Read',
|
||||||
|
handler: () => {
|
||||||
|
console.log('Mark Read clicked');
|
||||||
|
}
|
||||||
}, {
|
}, {
|
||||||
text: 'Edit Title',
|
text: 'Edit Title',
|
||||||
handler: () => {
|
handler: () => {
|
||||||
console.log('Edit Title clicked');
|
console.log('Edit Title clicked');
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
text: 'Erase Title',
|
||||||
|
handler: () => {
|
||||||
|
console.log('Erase Title clicked');
|
||||||
|
}
|
||||||
}, {
|
}, {
|
||||||
text: 'Save Image',
|
text: 'Save Image',
|
||||||
handler: () => {
|
handler: () => {
|
||||||
@ -88,6 +98,12 @@
|
|||||||
handler: () => {
|
handler: () => {
|
||||||
console.log('Copy Image clicked');
|
console.log('Copy Image clicked');
|
||||||
}
|
}
|
||||||
|
}, {
|
||||||
|
}, {
|
||||||
|
text: 'Erase Image',
|
||||||
|
handler: () => {
|
||||||
|
console.log('Erase Image clicked');
|
||||||
|
}
|
||||||
}, {
|
}, {
|
||||||
text: 'Delete File',
|
text: 'Delete File',
|
||||||
role: 'destructive',
|
role: 'destructive',
|
||||||
|
Reference in New Issue
Block a user