Skip to content

Commit

Permalink
refactoring code
Browse files Browse the repository at this point in the history
  • Loading branch information
kailasnadh790 committed Dec 8, 2023
1 parent 1d62107 commit 649a83a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
25 changes: 25 additions & 0 deletions cigaradvisor/blocks/imagecta/imagecta.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,28 @@
object-fit: cover;
object-position: center;
}

.section[data-layout="50/50"] .imagecta-wrapper{
display: flex;
flex-basis: 100%;
}

.section[data-layout="50/50"] .imagecta.block{
display: flex;
flex-basis: 100%;
}

.section[data-layout="50/50"] .imagecta.block > a{
flex-basis: 100%;
}

@media screen and (min-width: 1200px) {
.section[data-layout="50/50"] .imagecta.block>a img {
border: 1px solid #000;
}

/* removing border for 2 column videos section */
.two-column-section[data-layout="50/50"] .imagecta.block>a img {
border: none;
}
}
24 changes: 0 additions & 24 deletions cigaradvisor/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -113,27 +113,3 @@ main .section[data-layout="50/50"] .right-grid > div{
padding: 10px;
}

main .section[data-layout="50/50"] .imagecta-wrapper{
display: flex;
flex-basis: 100%;
}

main .section[data-layout="50/50"] .imagecta.block{
display: flex;
flex-basis: 100%;
}

main .section[data-layout="50/50"] .imagecta.block > a{
flex-basis: 100%;
}

@media screen and (min-width: 1200px) {
main .section[data-layout="50/50"] .imagecta.block>a img {
border: 1px solid #000;
}

/* removing border for 2 column videos section */
main .two-column-section[data-layout="50/50"] .imagecta.block>a img {
border: none;
}
}

0 comments on commit 649a83a

Please sign in to comment.