Skip to content

Commit

Permalink
[#3] added type to app card
Browse files Browse the repository at this point in the history
  • Loading branch information
Eriikah committed Jun 25, 2024
1 parent f3b563e commit d5266da
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/components/managerComponents/AppCard.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
border-radius: 15px;
align-content: center;
cursor: pointer;
position: relative;
}

.card:hover {
Expand Down Expand Up @@ -52,3 +53,20 @@
text-align: center;
width: max-content;
}

.bottomRectangle {
background-color: rgba(
0,
0,
0,
0.158
); /* Change this to the desired background color */
padding: 5px 10px;
border: 1px solid #acacac;
border-radius: 10px;
font-size: 12px;
text-align: center;
position: absolute;
top: 0;
left: 0;
}
1 change: 1 addition & 0 deletions src/components/managerComponents/AppCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ function AppCard({
) : (
""
)}
<div className="bottomRectangle">{t(type)}</div>
</div>
</div>
<Menu
Expand Down

0 comments on commit d5266da

Please sign in to comment.