Skip to content

Commit

Permalink
Fix author-card styling issues (#123)
Browse files Browse the repository at this point in the history
* fix word wrap on author-card

* fix author-card mobile styling

---------

Co-authored-by: Bryan Stopp <[email protected]>
  • Loading branch information
kronnox and bstopp authored Jan 24, 2024
1 parent b1d86c6 commit 5f6fa18
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions cigaradvisor/blocks/author-card/author-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@
}

.author-card.block .right-column p>a {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
color: var(--clr-white);
font-weight: var(--font-weight-bold);
Expand All @@ -168,8 +166,10 @@

.author-card.block .align-center {
position: absolute;
width: 100%;
top: 50%;
left: 50%;
margin: 0;
transform: translate(-50%, -50%);
opacity: 0;
transition: opacity 0.3s ease;
Expand All @@ -183,7 +183,7 @@

@media (max-width: 768px) {
.author-card-container {
padding: 60px 10px;
padding: 60px 0;
background: none #ece8e3;
background-size: auto 150%;
}
Expand All @@ -198,10 +198,6 @@
width: 100%;
}

.author-card.block .author-content {
flex: 0 0 100%;
}

.author-card.block .left-column,
.right-column {
width: 100%;
Expand Down

0 comments on commit 5f6fa18

Please sign in to comment.