mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
[FLASK] Fix snaps authorship pill (#15190)
* add truncation * add title to show complete package name * Remove hardcoded max-width * truncation * reduced max-width * final changes Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com> Co-authored-by: eriknson <eriks@mail.se>
This commit is contained in:
parent
101fe0b27a
commit
1f943a7d69
@ -5,6 +5,14 @@
|
||||
|
||||
.chip {
|
||||
padding-right: 8px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.chip__label {
|
||||
max-width: 168px;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
|
@ -63,6 +63,7 @@ const SnapsAuthorshipPill = ({ snapId, version, className }) => {
|
||||
variant={TYPOGRAPHY.H7}
|
||||
tag="span"
|
||||
color={COLORS.TEXT_ALTERNATIVE}
|
||||
title={packageName}
|
||||
>
|
||||
{packageName}
|
||||
</Typography>
|
||||
|
Loading…
Reference in New Issue
Block a user