Skip to content

Commit

Permalink
Merge pull request #523 from liara-cloud/team-enhancements
Browse files Browse the repository at this point in the history
chore: improve tick icon on team/permissions tables
  • Loading branch information
A-Najmabadi authored Dec 23, 2024
2 parents ae37a27 + ee12481 commit 3e0295f
Show file tree
Hide file tree
Showing 2 changed files with 183 additions and 144 deletions.
38 changes: 38 additions & 0 deletions src/components/Common/tick-icon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
const TickIcon = () => (
<div style={{
display: "flex",
justifyContent: "center",
alignItems: "center",
marginTop: "-3px",
}}>
<svg
style={{ marginBottom: -4 }}
width="47"
height="14"
viewBox="0 0 47 14"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect
width="47"
height="14"
rx="7"
fill="#7FDD53"
fill-opacity="0.133333"
/>
<path
d="M34 7.2L36.6667 10L42 4"
stroke="#7FDD53"
stroke-width="1.2"
stroke-linecap="round"
stroke-linejoin="round"
/>
<path
d="M10.7724 5.237L11.7844 4.236L13.7424 6.546C14.3034 7.195 14.4794 7.668 14.4794 8.218C14.4794 9.23 13.7424 10 12.3784 10H9.39741L9.28741 8.537H12.3124C12.7744 8.537 13.0274 8.383 13.0274 8.119C13.0274 7.921 12.9284 7.767 12.6644 7.459L10.7724 5.237ZM17.8851 9.593C17.8851 11.408 16.7301 12.629 14.9151 12.629H13.9911L13.8701 11.166H14.8931C15.9051 11.166 16.4881 10.594 16.4881 9.593V6.216H17.8851V9.593ZM19.5027 10V2.916H20.9107V10H19.5027ZM23.707 5.237L24.719 4.236L26.677 6.546C27.238 7.195 27.414 7.668 27.414 8.218C27.414 9.23 26.677 10 25.313 10H22.332L22.222 8.537H25.247C25.709 8.537 25.962 8.383 25.962 8.119C25.962 7.921 25.863 7.767 25.599 7.459L23.707 5.237Z"
fill="#7FDD53"
/>
</svg>
</div>
);

export default TickIcon;
Loading

0 comments on commit 3e0295f

Please sign in to comment.