Skip to content

Commit 760fc7c

Browse files
committed
Set browse card border using bootstrap variables
1 parent bf36d13 commit 760fc7c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/assets/stylesheets/spotlight/_browse.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ $image-overlay-max-height: 300px;
5454
}
5555

5656
.image-overlay {
57-
border: 2px solid $gray-600;
58-
border-radius: $border-radius-lg;
57+
border: var(--bs-border-width) solid var(--bs-border-color-translucent);
58+
border-radius: var(--bs-border-radius);
5959
max-height: 240px;
6060
min-height: 140px;
6161
overflow: hidden;

app/assets/stylesheets/spotlight/_featured_browse_categories_block.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ $xl-sidebar-five-tile-width: ($container-xl-sidebar * 0.2) - $tile-margin;
5656
background-size: cover;
5757
background-position: center;
5858
background-repeat: no-repeat;
59-
border: 2px solid $featured-browse-category-border-color;
60-
border-radius: $border-radius-lg;
59+
border: var(--bs-border-width) solid var(--bs-border-color-translucent);
60+
border-radius: var(--bs-border-radius);
6161
position: relative;
6262

6363
.category-caption {
@@ -69,7 +69,7 @@ $xl-sidebar-five-tile-width: ($container-xl-sidebar * 0.2) - $tile-margin;
6969
width: 100%;
7070
padding: 5%;
7171
background: linear-gradient(0deg, rgba(46, 45, 41, 0.7) 45%, rgba(46, 45, 41, 0) 100%);
72-
border-radius: $border-radius-lg;
72+
border-radius: var(--bs-border-radius);
7373
display: flex;
7474
flex-direction: column;
7575
justify-content: flex-end;

0 commit comments

Comments
 (0)