Monospace textarea (for presentation) (#76)

This commit is contained in:
Chris Caron 2022-05-29 16:31:46 -04:00 committed by GitHub
parent 01f7b65d52
commit 579c44628d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -133,7 +133,8 @@ class NotifyForm(forms.Form):
body = forms.CharField(
label=_('Body'),
widget=forms.Textarea(),
widget=forms.Textarea(
attrs={'placeholder': _('Define your message body here...')}),
max_length=apprise.NotifyBase.body_maxlen,
)

View File

@ -50,6 +50,7 @@ em {
textarea {
height: 16rem;
font-family: monospace;
}
.collapsible-body {