mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 06:08:21 +01:00
Improve styles of wall entry create form (#5936)
* Improve styles of wall entry create form * Autofocus and display full form of wall stream entry after load by menu
This commit is contained in:
parent
1373594b74
commit
605e9dbe5c
@ -221,6 +221,7 @@ humhub.module('content.form', function(module, require, $) {
|
||||
that.formPanel.find('[data-action-component], [data-ui-widget]').each(function () {
|
||||
Widget.instance($(this));
|
||||
});
|
||||
that.formPanel.find('input[type=text], textarea, .ProseMirror').eq(0).trigger('click').focus();
|
||||
}).catch(function(e) {
|
||||
module.log.error(e, true);
|
||||
loader.reset(that.formPanel);
|
||||
|
@ -27,6 +27,25 @@
|
||||
.form-group, .help-block-error {
|
||||
margin: 0;
|
||||
}
|
||||
.contentForm_options {
|
||||
.form-group {
|
||||
margin-bottom: 15px;
|
||||
.checkbox label {
|
||||
padding-left: 22px;
|
||||
input[type=checkbox] {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 0;
|
||||
&:focus {
|
||||
border-color: #ccc !important;
|
||||
&:checked {
|
||||
border-color: @info !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Empty stream info
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user