-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Explorer] Reduces the size of the copy icon that is used with IDs (#…
…4504) * sets default copy icon size at 14px * enlarges the copy icon for IDs at the top of results pages * splits copy button into 2 entities and makes no copy button the default * set stroke colour * the smaller copy icon disappears on mobile * modify copied text for mobile * use gap * lower copy icon * adjustments for mobile * updates tests * reduces x gap to 6px * adds 1px to bottom of badge
- Loading branch information
Showing
22 changed files
with
72 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
26 changes: 13 additions & 13 deletions
26
explorer/client/src/components/longtext/Longtext.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
.copy { | ||
@apply cursor-pointer mr-2; | ||
.copy16, | ||
.copy24 { | ||
@apply cursor-pointer stroke-sui-blue-steel leading-[100%] self-start sm:self-end; | ||
} | ||
|
||
/* fix some wiered vertical spacing svg with copy 16px is the high of svg */ | ||
font-size: 16px !important; | ||
vertical-align: middle; | ||
line-height: 100%; | ||
.copy16 { | ||
@apply hidden sm:block; | ||
} | ||
|
||
.copied { | ||
@apply text-green-600 ml-1 text-sm; | ||
@apply text-green-600 text-sm self-start sm:self-center; | ||
} | ||
|
||
.longtext, | ||
.longtext > a { | ||
@apply no-underline text-sui-dark hover:text-[#1F6493] cursor-pointer break-all inline mr-2; | ||
.copied span { | ||
@apply block sm:inline w-[20vw] text-center; | ||
} | ||
|
||
.linktext { | ||
@apply mr-2; | ||
.longtext, | ||
.longtext > a { | ||
@apply no-underline text-sui-dark hover:text-[#1F6493] cursor-pointer break-all inline; | ||
} | ||
|
||
.longtextwrapper { | ||
@apply inline md:block min-w-fit; | ||
@apply flex items-center gap-[6px] min-w-fit; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters