Incorrect Text Alignment on Table Columns #76

Open
opened 2024-10-30 16:34:43 +00:00 by corbz · 1 comment
Owner
image

The headers are being aligned to the right?

This incorrect CSS is being applied, but only after certain unknown events occur through the UI. I'm unsure if these events are caused by user input or not.

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: right;
}

Specifically this CSS query is applying the bad style:
table.dataTable th.dt-type-numeric

<img width="115" alt="image" src="attachments/6e3faec2-08a4-4e48-a7a5-43e8351811ba"> The headers are being aligned to the right? This incorrect CSS is being applied, but only after certain unknown events occur through the UI. I'm unsure if these events are caused by user input or not. ``` table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date { text-align: right; } ``` Specifically this CSS query is applying the bad style: `table.dataTable th.dt-type-numeric`
2.3 KiB
corbz added the
bug
label 2024-10-30 16:34:43 +00:00
corbz added this to the PYRSS project 2024-10-30 16:34:43 +00:00
Author
Owner

I believe this is because of the data field when initializing the table via JavaScript has a value who's type is 'number'.

I believe this is because of the `data` field when initializing the table via JavaScript has a value who's type is 'number'.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: corbz/PYRSS-Website#76
No description provided.