Skip to content
Open
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
6 changes: 6 additions & 0 deletions src/frontend/apps/impress/src/pages/globals.css
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hi, thank you for your contribution.

I don't think it is a good place to add these css properties, could we add them directly on the component that need the fix by using the property style ?

<Button
data-testid="new-doc-button"
color="primary"
onClick={handleClick}
icon={<Icon $variation="000" iconName="add" aria-hidden="true" />}
disabled={isLoading}
>
{t('New doc')}
</Button>

Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,9 @@ nextjs-portal {
white-space: nowrap !important;
border: 0 !important;
}

/* Fix for New Document button text wrapping issue */
[data-testid="new-doc-button"] {
white-space: nowrap !important;
min-width: fit-content !important;
}