Skip to content

Commit

Permalink
thonk
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJeffreyKuo committed Dec 23, 2023
1 parent e53ec2f commit f1b53c7
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2455,29 +2455,34 @@ textarea.form-control {
.brand-list {
display: flex;
flex-wrap: wrap;
align-items: stretch;
justify-content: flex-start;
margin-right: -5px;
margin-left: -5px;
}

.brand-list .single-brand {
flex: 0 0 24%;
max-width: 24%;
flex: 1 1 auto;
max-width: calc(20% - 10px);
box-sizing: border-box;
padding-left: 5px;
padding-right: 5px;
display: inline-block;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 50px;
}

.brand-list .single-brand a {
text-align: center;
position: relative;
transition: all 0.6s ease;
height: 100px;
width: auto;
display: block;
width: 100%;
overflow: hidden;
}

.brand-list .single-brand a img {
height: 100%;
max-height: 100px;
width: auto;
max-width: 100%;
object-fit: contain;
}

Expand Down

0 comments on commit f1b53c7

Please sign in to comment.