-
Notifications
You must be signed in to change notification settings - Fork 367
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
Fixed the issue where long values overflowed the modal in the pages u… #8640
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Although it's tempting, please try to avoid re-formatting the whole file (unless you're changing big parts of it). There is a plan to apply auto-formatting on the React code, but it's not applied yet. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ import { | |
} from "../../../../lib/components/controls"; | ||
import {useRouter} from "../../../../lib/hooks/router"; | ||
|
||
import "../../../../styles/globals.css" | ||
|
||
const UserCredentialsList = ({ userId, after, onPaginate }) => { | ||
const {user} = useUser(); | ||
|
@@ -43,7 +44,18 @@ const UserCredentialsList = ({ userId, after, onPaginate }) => { | |
</> | ||
); | ||
|
||
const getMsg = (email) => <span>Create new credentials for user <strong>{email}</strong>?</span>; | ||
const getMsg = (email) => ( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you please explain this change? |
||
<span> | ||
Create new credentials for user{" "} | ||
<strong | ||
className="d-inline-block text-truncate truncate-cell" | ||
title={email} | ||
> | ||
{email} | ||
</strong> | ||
{" "}? | ||
</span> | ||
); | ||
return ( | ||
<> | ||
<UserHeaderWithContext userId={userId} page={'credentials'}/> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Generally speaking, we should try to avoid using globals.css as much as possible. Anyway, classes should be added to |
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.
Is this required? IIUC it's importet in
main.tsx
which should be enough...This comment goes for all other files where this import exists
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.
you're right it works without the import