mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-26 06:57:37 +00:00
make it last with css
This commit is contained in:
2 files changed
+10
-1
No files matched your search
@@ -26,7 +26,7 @@
|
||||
<span class="implied-tag"></span>
|
||||
} @else if (isHidden(item.id)) {
|
||||
@if (item.id === hiddenTagIds[0]) {
|
||||
<button class="tag-wrap btn p-0 d-flex align-items-center mw-100" (click)="removeHiddenTags()" (mousedown)="$event.stopImmediatePropagation()" type="button" title="Remove tags you don't have access to" i18n-title>
|
||||
<button class="tag-wrap hidden-tags btn p-0 d-flex align-items-center mw-100" (click)="removeHiddenTags()" (mousedown)="$event.stopImmediatePropagation()" type="button" title="Remove tags you don't have access to" i18n-title>
|
||||
<pngx-bs-icon name="x" style="margin-inline-end: 1px;"></pngx-bs-icon>
|
||||
<span class="badge text-bg-secondary d-inline-flex align-items-center gap-1">
|
||||
<pngx-bs-icon name="eye-slash" width=".8em" height=".8em"></pngx-bs-icon>
|
||||
|
||||
@@ -12,6 +12,15 @@
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
// hidden tags bundle always sits after the visible tags
|
||||
::ng-deep .paperless-input-tags .ng-value:has(> .hidden-tags) {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
::ng-deep .paperless-input-tags .ng-value-container .ng-input {
|
||||
order: 2;
|
||||
}
|
||||
|
||||
// let a long (nowrap) split badge shrink to the field instead of widening it
|
||||
ng-select,
|
||||
::ng-deep .paperless-input-tags .ng-value-container {
|
||||
|
||||
Reference in new issue
Block a user