Skip to content

Commit

Permalink
Update _card.scss
Browse files Browse the repository at this point in the history
fix box-sizing for cards
  • Loading branch information
Zeoic authored Feb 18, 2025
1 parent 25a62d4 commit 838fc03
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions UI/Web/src/theme/components/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ $image-width: 160px;
position: relative;
color: var(--card-text-color);
border: 1px var(--card-border-color);

box-sizing: border-box;
}

.card-title {
Expand Down Expand Up @@ -73,16 +73,15 @@ $image-width: 160px;


.card-body {
padding: 0px !important;
padding: 0 5px !important;
background-color: rgba(0,0,0,0.7);
border-width: var(--card-border-width);
border-style: var(--card-border-style);
border-color: var(--card-border-color);
position: absolute;
bottom: 0;
z-index: 115;
width: 95%;
margin-left: 2.5%;
width: 100%;
bottom: 39px;
font-size: 0.8rem;
-webkit-box-orient: vertical;
Expand Down

0 comments on commit 838fc03

Please sign in to comment.