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

Fix Design Flaw: CSS Removal and Refactor in Tailwind CSS #79

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ export function WidgetHeader({
const domainMessages = useDomainMessages(LANG_DOMAINS.DASHBOARD.WIDGETS);

return (
<div className="flex justify-between items-start w-full">
<div className="flex flex-1 w-full gap-2">
<div className="flex justify-between items-center w-full ">
<div className="flex flex-1 overflow-hidden w-full gap-2">
{setting && (
<SortableKnob>
<GrabIcon width={18} />
</SortableKnob>
)}
<p className="truncate w-[calc(100%-1px)]">{title} TODO</p>
<p className="truncate max-w-[calc(100%-10px)] ">{title}</p>
</div>
{setting ? (
<ActionButtons
Expand Down