Skip to content

Commit

Permalink
FCL-448 | adjustments based off feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jlhdxw committed Nov 26, 2024
1 parent 5e1b172 commit a3ee6dd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

font-size: $typography-sm-text-size;
text-align: center;
text-decoration: underline;

opacity: 0;
background: $color-white;
Expand All @@ -41,5 +42,12 @@
border-top: 1px solid $color-grey;
border-right: 1px solid $color-grey;
}

&--copied {
left: 27px;
width: auto;
color: $color-dark-grey;
text-decoration: none;
}
}
}
8 changes: 4 additions & 4 deletions ds_judgements_public_ui/sass/includes/_results.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@
&__result-atom-feed-button {
display: flex;
flex-direction: column;
gap: $space-3;
padding-right: $space-6;

@media (min-width: $grid-breakpoint-large) {
}

label {
font-family: $font-roboto;
font-size: $typography-md-text-size;
Expand All @@ -37,6 +33,10 @@
height: 33px;
margin-right: auto;
}

@media (min-width: $grid-breakpoint-large) {
gap: $space-3;
}
}

&__result-list-container {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ const addCopyLinkTooltip = function (link) {
link.addEventListener("click", function (event) {
copyLinkToClipboard(event, link.href);
tooltip.innerHTML = "Copied!";
tooltip.classList.add("copy-to-clipboard-link__tooltip--copied");

setTimeout(() => {
tooltip.innerHTML = tooltipText;
tooltip.classList.remove("copy-to-clipboard-link__tooltip--copied");
}, 3000);
});
};
Expand Down

0 comments on commit a3ee6dd

Please sign in to comment.