Skip to content

fix: Update CSS for user table#35

Open
sergioceron wants to merge 1 commit intomasterfrom
coderops/fix-d4cb7713-task-651
Open

fix: Update CSS for user table#35
sergioceron wants to merge 1 commit intomasterfrom
coderops/fix-d4cb7713-task-651

Conversation

@sergioceron
Copy link
Copy Markdown
Member

Automated fix by CoderOps.

Swarm: swarm50
Task: Update CSS for user table

Copilot AI review requested due to automatic review settings April 10, 2026 04:47
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates shared styling in styles/global.css to apply the existing dashboard table look-and-feel to a “user table” variant.

Changes:

  • Extends the div#dash1 table style rules to also match elements under a .user-table container (headers, cells, footer, status/warning/error icons).
  • Adds a .user-table selector to inherit the dashboard table’s base font sizing/collapsing behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread styles/global.css
Comment on lines +487 to +488
div#dash1 table .high, .low,
div.user-table .high, .low{
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The selector list div#dash1 table .high, .low, div.user-table .high, .low makes .low a global selector (not scoped to div#dash1 table / .user-table). This can unintentionally style any element with class low across the app. Scope .low to the same containers as .high (i.e., qualify each .low entry explicitly).

Suggested change
div#dash1 table .high, .low,
div.user-table .high, .low{
div#dash1 table .high, div#dash1 table .low,
div.user-table .high, div.user-table .low{

Copilot uses AI. Check for mistakes.
Comment thread styles/global.css
}

div#dash1 table,
div.user-table{
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

border-collapse only affects table elements; applying it to div.user-table has no effect. If the intent is to style a user table, target the table element inside the container (or use a table.user-table selector) so border collapsing actually applies.

Suggested change
div.user-table{
div.user-table table{

Copilot uses AI. Check for mistakes.
Comment thread styles/global.css
Comment on lines +429 to +436
div#dash1 table,
div.user-table{
font-size:.9em;
border-collapse:collapse;
}

div#dash1 table th.status,
div.user-table th.status{
Copy link

Copilot AI Apr 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The newly added .user-table selector lines are not indented like the surrounding CSS rules, which makes this block harder to read/maintain. Align indentation with the existing div#dash1 ... selectors in this section.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants