Skip to content

Commit

Permalink
Merge pull request #162 from hlxsites/bug/tabs-author
Browse files Browse the repository at this point in the history
Author and Tabs fixes
  • Loading branch information
davenichols-DHLS authored Nov 21, 2023
2 parents 446ecd8 + 5be23a9 commit 3116146
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
21 changes: 19 additions & 2 deletions blocks/author/author.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.author {
padding: 20px 0;
margin: 1.5rem 0;
border: 1px solid #999;
}

Expand Down Expand Up @@ -33,6 +33,7 @@
.author .mmg-tabs .tabpanel img {
border-radius: 50%;
border: 1px solid #CCC;
height: auto;
}

.author p {
Expand All @@ -50,6 +51,19 @@
justify-content: space-between;
}

.author .author-avatar {
width: 25%;
}

.author .author-avatar img {
width: 100%;
height: auto;
}

.author .author-info.has-avatar {
width: 75%;
}

.author .author-recent-posts {
font-size: 14px;
line-height: normal
Expand Down Expand Up @@ -91,13 +105,16 @@
}

.author .author-avatar {
/* float: none; */
width: 100%;
display: block;
text-align: center;
padding-bottom: 1em
}

.author .author-info.has-avatar {
width: 100%;
}

.author .author-avatar img {
width: 80%;
max-width: 300px;
Expand Down
7 changes: 6 additions & 1 deletion blocks/tabs/tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@
.tabpanel table tr:first-child td {
background-color: var(--primary-color)!important; /* Specify your desired background color here */
color: var(--text-color);
}
}

.tabs .tabpanel ul + p > em {
margin-left: 18px;
display: block;
}

0 comments on commit 3116146

Please sign in to comment.