Skip to content

Commit

Permalink
change btn ID look
Browse files Browse the repository at this point in the history
  • Loading branch information
baudelotphilippe committed Jun 27, 2024
1 parent f711334 commit 75d1ef6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions izanami-frontend/src/components/FeatureTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ export function CopyButton(props: { value: any; title?: any }) {

return (
<button
className="btn btn-secondary"
className="btn btn-secondary btn-sm"
onClick={() => {
navigator.clipboard.writeText(value);
if (timeRef.current) {
Expand All @@ -665,23 +665,23 @@ export function CopyButton(props: { value: any; title?: any }) {
>
{validCheckMark && idCheckMark === value ? (
<>
<div className="row justify-content-center">
<>
<i
aria-label="copy feature id"
className="bi bi-clipboard"
className="bi bi-clipboard me-2"
data-tooltip-id="copy_id"
data-tooltip-content="Copied to clipboard !"
data-tooltip-place="top"
></i>
{title ? title : ""}
<Tooltip id="copy_id" isOpen={validCheckMark} />
</div>
</>
</>
) : (
<div className="row justify-content-center">
<i className="bi bi-clipboard" aria-label="copy feature id"></i>
<>
<i className="bi bi-clipboard me-2" aria-label="copy feature id"></i>
{title ? title : ""}
</div>
</>
)}
</button>
);
Expand Down

0 comments on commit 75d1ef6

Please sign in to comment.