-
Notifications
You must be signed in to change notification settings - Fork 13
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
refactor: compact tables #668
Conversation
|
||
public static function usesCompactTables(): bool | ||
{ | ||
return static::compactTables() === true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wot why, it already returns a boolean
@@ -1,8 +1,8 @@ | |||
@if(isset($isSent)) | |||
<span class="px-2 py-1 font-bold border rounded whitespace-nowrap text-theme-danger-400 border-theme-danger-100 dark:border-theme-danger-400"> | |||
<span class="{{ ($compact ?? false) ? '' : 'px-2 py-1 border rounded border-theme-danger-100 dark:border-theme-danger-400' }} font-bold whitespace-nowrap text-theme-danger-400"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this could be done with classes, moving the specific stuff out to a css file and having it apply on regular tables but not compact tables
…rer.ark.io into feat/condensed-tables
@Highjhacker please check #670 and work on that branch to finish the tables |
Summary
https://app.clickup.com/t/awx21d
Checklist