fix: responsive audit log table for smaller screens#84
Merged
TerrifiedBug merged 1 commit intomainfrom Mar 10, 2026
Merged
Conversation
Hide IP Address (below xl) and Details (below lg) columns on smaller screens since both are available in the expanded row. Switch from table-fixed to auto layout so remaining columns size naturally. Show IP address in the expanded row when the column is hidden.
Contributor
Greptile SummaryThis PR makes the audit log table responsive by hiding the IP Address column below the Key changes:
Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Screen Width] --> B{>= 1280px xl}
A --> C{>= 1024px lg, < 1280px}
A --> D{< 1024px}
B --> B1[Show: Timestamp, User, IP Address, Action, Entity Type, Entity ID, Details]
C --> C1[Show: Timestamp, User, Action, Entity Type, Entity ID, Details\nHide: IP Address]
D --> D1[Show: Timestamp, User, Action, Entity Type, Entity ID\nHide: IP Address + Details]
B1 --> E{Row Expanded?}
C1 --> E
D1 --> E
E -->|Yes| F[Expanded Detail Row colSpan=99]
F --> G{< 1280px xl?}
G -->|Yes + entry.ipAddress present| H[Show IP Address section]
G -->|No| I[IP Address section hidden]
F --> J[Always show Metadata / Diff sections if present]
Last reviewed commit: b22512b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
xlandlgbreakpoints) since both are accessible in the expanded rowtable-fixedto auto table layout so visible columns size naturallyTest plan