-
-
Notifications
You must be signed in to change notification settings - Fork 844
Open
Labels
questionStatus: Needs clarification from the authorStatus: Needs clarification from the author
Description
First Check
- I added a very descriptive title here.
- This is not a Q&A. I am sure something is wrong with NiceGUI or its documentation.
- I used the GitHub search to find a similar issue and came up empty.
Example Code
# Kompaktes Styling
ui.add_head_html('''
<style>
.q-table__container {border: none !important; box-shadow: none !important;}
.q-table th, .q-table td {border: none !important;text-align: left !important; padding: 2px 8px !important;font-size: 13px !important; line-height: 1.1 !important; height: 24px !important; font-weight: bold !important;}
.q-table thead {display: none !important;}
</style>
''')
Description
I use many tables in my program. Some without frames, just for aligning text.
In version 2, you could format each table individually using ui.add_head_html. After updating to 3.0.4, changes made using ui.add_head_html are applied globally to all tables, regardless of whether they are in a function or not.
NiceGUI Version
3.0.4
Python Version
3.12
Browser
Firefox
Operating System
Linux
Additional Context
No response
Metadata
Metadata
Assignees
Labels
questionStatus: Needs clarification from the authorStatus: Needs clarification from the author