fix [FRONT-2358]: Truncate operator *names* with CSS #2004
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sets a reasonable max-width onto the operator name column.
Future considerations
node-datachannelin the network repo (dht?) to 0.30 to avoid compilation issues – the reason this took so long is that I couldn't get the Hub up. My setup does not tolerate node-datachannel v0.27. Works ok with v0.30 tho.Note
Truncates operator names with ellipsis (max-width 12rem) and enables truncation in both Operators and My Delegations tables.
src/components/Table.tsxOperatorName: addmax-width: 12remto truncation CSS for ellipsis.src/pages/OperatorsPage.tsxOperatorIdCellusage in both tables now passestruncate={!!name}to enable name truncation.Written by Cursor Bugbot for commit ffdb8f3. This will update automatically on new commits. Configure here.