mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-13 14:46:10 -05:00
Handle overflow when long name in suggestion
This commit is contained in:
@@ -233,8 +233,7 @@ function SuggestedUser({
|
||||
discordId={suggested.suggestedUser.discordId}
|
||||
size="md"
|
||||
/>
|
||||
{/* xxx: can cause page to overflow when long e.g. Buckinghamshire */}
|
||||
<h2>{suggested.suggestedUser.discordName}</h2>
|
||||
<h2>Buckinghamshire</h2>
|
||||
{canAddCommentToSuggestionFE({
|
||||
user,
|
||||
suggestions: data.suggestions,
|
||||
@@ -312,7 +311,6 @@ function CommentDeleteButton({
|
||||
// TODO: Delete your suggestion of suggestedDiscordName and 3 comments to it? + different behavior of the delete event
|
||||
dialogHeading={`Delete your comment to ${suggestedDiscordName}'s +${tier} suggestion?`}
|
||||
>
|
||||
{/* xxx: what when this is the first suggestion... it would trigger different behavior so confusing maybe? */}
|
||||
<Button
|
||||
className="plus__delete-button"
|
||||
icon={<TrashIcon />}
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--s-2);
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.plus__comment-button {
|
||||
|
||||
Reference in New Issue
Block a user