Skip to content

Commit

Permalink
fix: update paginator style (#2069)
Browse files Browse the repository at this point in the history
  • Loading branch information
derschnee68 authored Jan 30, 2025
1 parent acdcbc9 commit 057f16c
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion apps/dsp-app/src/assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@
"lastPage": "Letzte Seite",
"nextPage": "Nächste Seite",
"inputTooltip": "Seitennummer eingeben und über Enter zur gewählten Seite springen.",
"pageLabel": "Seite",
"previousPage": "Vorherige Seite",
"rangeLabelOf": "von",
"rangeLabelZero": "Seite 1 von 1"
Expand Down
1 change: 0 additions & 1 deletion apps/dsp-app/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@
"lastPage": "Last page",
"nextPage": "Next page",
"inputTooltip": "Enter the page number and apply with the Enter key.",
"pageLabel": "Page",
"previousPage": "Previous page",
"rangeLabelOf": "of",
"rangeLabelZero": "Page 1 of 1"
Expand Down
1 change: 0 additions & 1 deletion apps/dsp-app/src/assets/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@
"lastPage": "Dernière page",
"nextPage": "Page suivante",
"inputTooltip": "Saisir le numéro de page et appuyer sur Entrée pour aller à la page.",
"pageLabel": "Page",
"previousPage": "Page précédente",
"rangeLabelOf": "sur",
"rangeLabelZero": "Page 1 sur 1"
Expand Down
1 change: 0 additions & 1 deletion apps/dsp-app/src/assets/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@
"nextPage": "Pagina successiva",
"inputTooltip": "Inserisci il numero della pagina e premi Invio per andare alla pagina.",
"previousPage": "Pagina precedente",
"pageLabel": "Pagina",
"rangeLabelOf": "di",
"rangeLabelZero": "Pagina 1 di 1"
}
Expand Down
1 change: 0 additions & 1 deletion apps/dsp-app/src/assets/i18n/rm.json
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@
"nextPage": "Next page",
"inputTooltip": "Enter the page number and apply with the Enter key.",
"previousPage": "Previous page",
"pageLabel": "Page",
"rangeLabelOf": "of",
"rangeLabelZero": "Page 1 of 1"
}
Expand Down
3 changes: 1 addition & 2 deletions libs/vre/ui/ui/src/lib/pager/pager.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
</button>
</div>
<div class="paginator-page-info">
<span class="page-label">{{ 'paginator.pageLabel' | translate }}</span>
<div class="page-input-container">
<input
#pageInput
Expand Down Expand Up @@ -46,5 +45,5 @@
<mat-icon>last_page</mat-icon>
</button>
</div>
<div class="paginator-item-range">{{ itemRange }}</div>
</div>
<div class="paginator-item-range">{{ itemRange }}</div>
5 changes: 4 additions & 1 deletion libs/vre/ui/ui/src/lib/pager/pager.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@
}

.paginator-item-range {
min-width: 8em;
display: flex;
flex-direction: row-reverse;
padding-right: 16px;
font-size: 0.7em;
}

/* Remove number up/down buttons For Chrome, Edge, and Safari */
Expand Down

0 comments on commit 057f16c

Please sign in to comment.