Revert to regular buttons in system tags management

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-07-31 15:35:57 +02:00
parent c39bc1638b
commit cfcb90214f
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
2 changed files with 10 additions and 12 deletions

View File

@ -1,17 +1,15 @@
.systemtag-input {
display: flex;
max-width: 500px;
flex-wrap: wrap;
}
#systemtags .select2-container {
width: 100%;
max-width: 500px;
max-width: 400px;
}
#systemtags .select2-container .select2-choice {
height: auto;
}
#systemtag_name {
flex-grow: 1;
}
#systemtag_delete,
#systemtag_reset,
#systemtag_submit {
padding: 8px;
width: 100%;
max-width: 400px;
}

View File

@ -49,9 +49,9 @@ style('systemtags', 'settings');
<option value="0"><?php p($l->t('Invisible')); ?></option>
</select>
<a id="systemtag_delete" class="hidden icon-delete"><span class="hidden-visually"><?php p($l->t('Delete')); ?></span></a>
<a id="systemtag_reset" class="icon-close"><span class="hidden-visually"><?php p($l->t('Reset')); ?></span></a>
<a id="systemtag_submit" class="icon-confirm"><span class="hidden-visually"><?php p($l->t('Create')); ?></span></a>
<a id="systemtag_delete" class="hidden button"><span><?php p($l->t('Delete')); ?></span></a>
<a id="systemtag_reset" class="button"><span><?php p($l->t('Reset')); ?></span></a>
<a id="systemtag_submit" class="button"><span><?php p($l->t('Create')); ?></span></a>
</div>
</form>