Skip to content

Commit

Permalink
video promo UI related feedback done
Browse files Browse the repository at this point in the history
  • Loading branch information
khmsourav committed Aug 11, 2024
1 parent f26074f commit 5dc4862
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 5 deletions.
40 changes: 35 additions & 5 deletions includes/templates/admin/eael-dashboard/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,8 @@ span.dark-icon {

.video-promo-wrapper .templates-content {
padding: 0;
padding-left: 8px;
padding-right: 8px;
}

.ea__general-content-item.templates {
Expand Down Expand Up @@ -1049,6 +1051,34 @@ span.dark-icon {

.video-promo-wrapper .templates-img {
padding: 0;
position: relative;
}

.video-promo-wrapper .templates-img span {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 64px;
height: 64px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
background: #3A04A966;
}

.video-promo-wrapper .templates-img span i {
/*position: absolute;*/
width: 32px;
height: 32px;
font-size: 12px;
color: #750EF4;
background: #FFF;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}

.templates-img a {
Expand Down Expand Up @@ -3046,6 +3076,11 @@ input.input-api:disabled {
font-size: 14px;
}

.ea__general-content-item.video-promo h2 {
font-size: 20px;
margin-bottom: 12px;
}

.ea__license-wrapper .ea__license-content {
margin: 12px 0 12px 44px;
}
Expand Down Expand Up @@ -3269,11 +3304,6 @@ input.input-api:disabled {
flex-wrap: wrap;
}

.ea__general-content-item.video-promo h2 {
font-size: 18px;
margin-bottom: 10px;
}

.ea__general-content-item.video-promo p {
font-size: 12px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ function VideoPromo() {
<div className="templates-img">
<a href={eaData.button.url} target="_blank">
<img src={reactPath + eaData.image} alt="video promo"/>
<span>
<i className='ea-dash-icon ea-play'></i>
</span>
</a>
</div>
</div>
Expand Down

0 comments on commit 5dc4862

Please sign in to comment.