Skip to content
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

Closed
wants to merge 17 commits into from
Closed

refactor: compact tables #668

wants to merge 17 commits into from

Conversation

Highjhacker
Copy link
Contributor

Summary

https://app.clickup.com/t/awx21d

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged


public static function usesCompactTables(): bool
{
return static::compactTables() === true;
Copy link
Member

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">
Copy link
Member

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

@ItsANameToo
Copy link
Member

@Highjhacker please check #670 and work on that branch to finish the tables

@ItsANameToo ItsANameToo closed this Dec 3, 2020
@ItsANameToo ItsANameToo deleted the feat/condensed-tables branch December 7, 2020 14:18
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