firewall: categories: force minimum modal-body height to account for color-picker

This commit is contained in:
Stephan de Wit 2024-08-09 10:13:56 +02:00
parent d35a5f3cfa
commit fb71b9d8dd
2 changed files with 11 additions and 6 deletions

View File

@ -5,12 +5,6 @@
<type>checkbox</type>
<help>Automatically added, will be removed when unused</help>
</field>
<field>
<id>category.name</id>
<label>Name</label>
<type>text</type>
<help>Enter a name for this category.</help>
</field>
<field>
<id>category.color</id>
<label>Color</label>
@ -18,4 +12,10 @@
<style>pick-a-color</style>
<help>pick a color to use.</help>
</field>
<field>
<id>category.name</id>
<label>Name</label>
<type>text</type>
<help>Enter a name for this category.</help>
</field>
</form>

View File

@ -85,6 +85,11 @@
</script>
<style>
.modal-body {
min-height: 410px;
}
</style>
<ul class="nav nav-tabs" data-tabs="tabs" id="maintabs">
<li class="active"><a data-toggle="tab" href="#grid-categories">{{ lang._('Categories') }}</a></li>