mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
CSS style fixes
This commit is contained in:
parent
ad844c4393
commit
2be9399d2c
@ -490,6 +490,8 @@ function constructFormBody(fields, options) {
|
||||
// Attach clear callbacks (if required)
|
||||
addClearCallbacks(fields, options);
|
||||
|
||||
attachToggle(modal);
|
||||
|
||||
$(modal + ' .select2-container').addClass('select-full-width');
|
||||
$(modal + ' .select2-container').css('width', '100%');
|
||||
|
||||
@ -1699,7 +1701,7 @@ function constructInputOptions(name, classes, type, parameters) {
|
||||
}
|
||||
|
||||
if (parameters.type == 'boolean') {
|
||||
opts.push(`style='float: right;'`);
|
||||
opts.push(`style='display: inline-block; width: 20px; margin-right: 20px;'`);
|
||||
}
|
||||
|
||||
if (parameters.multiline) {
|
||||
@ -1878,7 +1880,7 @@ function constructHelpText(name, parameters, options) {
|
||||
var style = '';
|
||||
|
||||
if (parameters.type == 'boolean') {
|
||||
style = `style='display: inline;' `;
|
||||
style = `style='display: inline-block; margin-left: 25px' `;
|
||||
}
|
||||
|
||||
var html = `<div id='hint_id_${name}' ${style}class='help-block'><i>${parameters.help_text}</i></div>`;
|
||||
|
Loading…
Reference in New Issue
Block a user