mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Adjust alert
- changed type from warning to info - increased line-height to 120%
This commit is contained in:
parent
3f2d8566e1
commit
36be1e7fc9
@ -297,7 +297,7 @@
|
||||
.cp-creation-password-warning {
|
||||
margin-top: 0.4rem;
|
||||
font-size: 0.75em;
|
||||
line-height: 100%;
|
||||
line-height: 120%;
|
||||
}
|
||||
}
|
||||
.cp-creation-settings {
|
||||
|
||||
@ -26,8 +26,6 @@ define([
|
||||
], function ($, Config, Broadcast, Util, Hash, Language, UI, Constants, Feedback, h, Clipboard,
|
||||
Messages, AppConfig, Pages, NThen, InviteInner, Visible, PadTypes) {
|
||||
|
||||
Messages.form_passwordWarning = 'For Forms, you can only set the password during creation. It cannot be changed later.' //XX
|
||||
|
||||
var UIElements = {};
|
||||
var urlArgs = Config.requireConf.urlArgs;
|
||||
|
||||
@ -2775,7 +2773,7 @@ define([
|
||||
// Password
|
||||
let text;
|
||||
if (type === 'form') {
|
||||
text = h('div.cp-creation-password-warning.alert.alert-warning.dismissable', h('span.cp-inline-alert-text', Messages.form_passwordWarning));
|
||||
text = h('div.cp-creation-password-warning.alert.alert-info.dismissable', h('span.cp-inline-alert-text', Messages.form_passwordWarning));
|
||||
}
|
||||
var password = h('div.cp-creation-password', [
|
||||
UI.createCheckbox('cp-creation-password', Messages.properties_addPassword, false),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user