1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

Updated Text style in Tag Url (#16570)

* fixed truncate in tag url

* updated snapshot testing

Co-authored-by: Garrett Bear <gwhisten@gmail.com>
This commit is contained in:
Nidhi Kumari 2022-11-18 18:18:54 +05:30 committed by GitHub
parent 4c809a339d
commit e6070df4b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
exports[`TagUrl should render the label inside the TagUrl 1`] = `
<div>
<div
class="box mm-tag-url box--padding-right-4 box--padding-left-2 box--display-inline-flex box--gap-2 box--flex-direction-row box--align-items-center box--background-color-background-default box--rounded-pill box--border-color-border-default box--border-width-1 box--border-style-solid"
class="box mm-tag-url box--padding-right-4 box--padding-left-2 box--display-flex box--gap-2 box--flex-direction-row box--align-items-center box--background-color-background-default box--rounded-pill box--border-color-border-default box--border-width-1 box--border-style-solid"
data-testid="tag-url"
>
<div

View File

@ -38,7 +38,7 @@ export const TagUrl = ({
paddingRight={4}
gap={2}
borderRadius={BORDER_RADIUS.PILL}
display={DISPLAY.INLINE_FLEX}
display={DISPLAY.FLEX}
{...props}
>
<AvatarFavicon imageSource={src} {...avatarFaviconProps} />