-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table: Footer-Bereich mit Abstand zum Body #6159
Comments
This issue has been automatically marked as stale and will be closed in 10 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, please post a comment or remove the Stale label. |
Makko74
added a commit
that referenced
this issue
Sep 20, 2024
Makko74
added a commit
that referenced
this issue
Sep 30, 2024
sdvg
added a commit
that referenced
this issue
Oct 9, 2024
…-alert * 'develop' of github.com:public-ui/kolibri: (149 commits) chore: release 2.1.9-rc.0 Remove unecessary array fallback Update all snapshots$ $ Refs: #6159 fix format Revert "Update all snapshots$" Update all snapshots$ $ Refs: #6159 table head and foot spacer Revert "chore: update deps" Fix combobox shows empty list on navigation chore: update deps Update all snapshots$ $ Refs: #6485 refactor: rename background to background-color / enable always white bg Update all snapshots$ $ Refs: #6485 Fix delayed display of single-select value Add black background test to inputs Adjusted base styling for inputs Fix lint error removed timeout in focusErrorList() Added documentation, described multi-sort functionality, and provided an example in React app. lint fix ...
sdvg
added a commit
that referenced
this issue
Oct 11, 2024
…ix/clean-code-by-arch-pattern * '6138-auto-alert' of github.com:public-ui/kolibri: (170 commits) chore: release 2.1.9-rc.0 Remove unecessary array fallback Update all snapshots$ $ Refs: #6159 fix format Revert "Update all snapshots$" Update all snapshots$ $ Refs: #6159 table head and foot spacer Revert "chore: update deps" Fix combobox shows empty list on navigation chore: update deps Update all snapshots$ $ Refs: #6485 refactor: rename background to background-color / enable always white bg Update all snapshots$ $ Refs: #6485 Fix delayed display of single-select value Add black background test to inputs Adjusted base styling for inputs Fix lint error removed timeout in focusErrorList() Added documentation, described multi-sort functionality, and provided an example in React app. lint fix ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Beschreibung
Um den Abstand zwischen dem Body und dem Footer der Table-Komponente zu ermöglichen, wird das HTML der Komponente angepasst. Im Default-Theme soll dann exemplarisch ein Abstand von
rem(1.5)
definiert werden.Lösungsvorschlag
Eine leere Zeile wird im Footer-Bereich hinzugefügt, die durch eine spezifische CSS-Klasse den Abstand definiert. Diese Lösung wird exemplarisch im Default-Theme umgesetzt und kann leicht auf andere Themes übertragen werden.
HTML-Anpassung in der Komponente:
aria-hidden="true"
versehen, damit sie von Screen-Readern ignoriert wird.CSS-Anpassung im Default-Theme:
.foot-spacer
definiert, um den Abstand zum Table-Body zu steuern:Erwartetes Verhalten
Im Default-Theme wird durch die eingefügte leere Zeile und die zugehörige CSS-Klasse ein standardisierter Abstand zwischen dem Body und dem Footer der Tabelle hergestellt. Andere Themes können diese Implementierung übernehmen und bei Bedarf eigene Abstände definieren. Es muss sichergestellt werden, dass die leere Zeile vom Screen-Reader ignoriert wird.
Umsetzung
Komponenten-Änderung:
<tr class="foot-spacer" aria-hidden="true"></tr>
CSS-Anpassung im Default-Theme:
.foot-spacer
-Klasse im Default-Theme, um den Abstand festzulegen.Akzeptanzkriterien
Zusätzliche Informationen
Diese Anpassung stellt sicher, dass der Footer-Abstand in der KoliBri-Table-Komponente an die Designrichtlinien der verschiedenen Styleguides angepasst werden kann.
Verworfener Lösungsansatz
Abbilden über Footer. Mit
border-spacing
versuchen die Abstände zwischen body und footer zu ermöglichen.Beispiel
Skizze
The text was updated successfully, but these errors were encountered: