Merge pull request #10469 from nextcloud/bugfix/10420/tags-management

Revert to regular buttons in system tags management
This commit is contained in:
Roeland Jago Douma 2018-07-31 16:37:21 +02:00 committed by GitHub
commit 3e0668e348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>