Skip to content

Commit

Permalink
CTA wrap issue fixed (#385)
Browse files Browse the repository at this point in the history
* CTA wrap issue fixed

* Fixed css lint issue

---------

Co-authored-by: Kanaksinh <[email protected]>
  • Loading branch information
chandans1316 and raj-bluetext authored Jun 27, 2024
1 parent 4cd4a5c commit cc4ed1f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions blocks/leadspace/leadspace.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Leadspace block styles */
.leadspace,
.leadspace,
.leadspace p {
font-family: var(--sans-serif-font-light);
font-size: var(--font-size-16);
Expand Down Expand Up @@ -217,7 +217,6 @@ main div.leadspace-wrapper {

.leadspace.brand-logo .button-group .button-container a {
font-weight: var(--font-weight-regular);
height: var(--spacer-element-10);
}

.leadspace.brand-logo .button-group .button-container:nth-child(3){
Expand Down Expand Up @@ -551,7 +550,7 @@ main div.leadspace-wrapper {
.home-video.leadspace-container .leadspace-wrapper {
padding-top: 0;
}

.leadspace.video > div:first-child {
align-items: flex-start;
}
Expand All @@ -565,7 +564,7 @@ main div.leadspace-wrapper {
}

.leadspace.brand-logo .button-group .button-container:nth-child(3){
margin-left: var(--spacer-element-05);
/* margin-left: var(--spacer-element-05); */
margin-top: unset;
}

Expand Down Expand Up @@ -610,7 +609,7 @@ main div.leadspace-wrapper {
.leadspace.half-circle > div > div:nth-child(2) picture {
margin-top: var(--spacer-layout-06);
}

/* Leadspace - Video */
.leadspace.video > div:first-child > div:nth-child(2) {
width: 45%;
Expand All @@ -624,7 +623,7 @@ main div.leadspace-wrapper {

.leadspace .button-group {
display: flex;
flex-flow: row nowrap;
flex-flow: row wrap;
align-items: baseline;
}

Expand All @@ -638,7 +637,7 @@ main div.leadspace-wrapper {
}

.leadspace.brand-logo .button-group .button-container a.tertiary {
margin-left: var(--spacer-element-05);
/* margin-left: var(--spacer-element-05); */
}

.leadspace.video .video-wrapper {
Expand Down
2 changes: 1 addition & 1 deletion styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ button {
}

.button-container a.has-icon {
border-bottom: 0 !important;
/* border-bottom: 0 !important; */
}

.button-container a.has-icon.primary,
Expand Down

0 comments on commit cc4ed1f

Please sign in to comment.