New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confirm modal: Exclamation mark out of place #15778
Comments
Your window screen have an impair height. So the translate is antialiasing on the subpixel :) |
The icon itself is out of place here, it does not need to be there. Additionally the buttons should not say "Yes" and "No" but be more descriptive like "Wipe data from this device" and "Keep data". |
This is actually not that trivial. Definitely no good first issue.
|
|
@pierlon Please check the code :) |
Yep you're right, overlooked that. Perhaps you could try changing the text after its created: OC.dialogs.confirm('Text', 'Title', null, true).done(() => {
const buttons = $('.oc-dialog-buttonrow button')
buttons.eq(0).text('Keep data')
buttons.eq(1).text('Wipe data')
}) |
Possible yes, but quite hacky and definitely nothing we should teach new contributors 😉 |
Hi, please update to 24.0.8 or better 25.0.2 and report back if it fixes the issue. Thank you! |
From: #15774 (comment)
@ChristophWurst
@nextcloud/designers
The text was updated successfully, but these errors were encountered: