Resolve #3471093 "Mobile css"
Closes #3471093
Merge request reports
Activity
mentioned in merge request !36 (merged)
requested review from @alan.cole
1 1 .ct-starshot-case-study { 2 2 position: relative; 3 3 overflow: hidden; 4 padding-bottom: 174px; 5 margin-bottom: -174px; 4 padding-bottom: 74px; 5 6 @include ct-breakpoint(xl) { 7 padding-bottom: 174px; One possible solution to this might be that each of these organisms implement additional margin / padding when placed directly below the case study:
.ct-starshot-case-study + .ct-starshot-hero, .ct-starshot-case-study + .starshot-listing-testimonial, .ct-starshot-case-study + .ct-starshot-case-study, .ct-starshot-case-study + .starshot-cta, .ct-starshot-case-study + .starshot-feature-cards, .ct-starshot-case-study + .ct-starshot-stats { margin-top: -74px; padding-top: 74px; z-index: -1; }
Please note this 74px would need to accommodate for the breakpoint changes.
5 6 @include ct-breakpoint(xl) { 7 padding-bottom: 174px; 8 } 9 6 10 7 11 &__background { 8 padding-top: 141px; 9 padding-bottom: 387px; 10 12 background-color: #ccbaf4; 13 padding-top: 60px; 14 padding-bottom: 60px; 15 16 @include ct-breakpoint(xxl) { 17 padding-top: 141px; 18 // padding-bottom: 387px; No need to commit commented out code.
Edited by Alan Cole
114 @include ct-breakpoint(l) { 115 border-radius: 25px; 116 margin-top: 0; 117 } 118 119 @include ct-breakpoint(xxl) { 120 margin-left: -5px; 121 } 70 122 } 71 123 72 124 &__image-frame { 73 125 position: absolute; 74 top: -30px; 75 left: -50px; 126 width: calc(100% + 20px); 127 height: calc(100% + 20px); 16 padding: 0 ct-spacing(3); 17 18 @include ct-breakpoint(xxl) { 19 padding: 0 ct-spacing(2); 20 } 11 21 } 12 22 13 img { 23 .stat-img { 14 24 position: absolute; 15 25 top: 0; 16 26 right: 0; 17 27 height: 100%; 28 width: 25%; 29 object-fit: cover; 30 object-position: left; 1 1 .ct-starshot-case-study { 2 2 position: relative; 3 3 overflow: hidden; 4 padding-bottom: 174px; 5 margin-bottom: -174px; 4 padding-bottom: 74px; 5 6 @include ct-breakpoint(xl) { 7 padding-bottom: 174px; 8 } 9 6 10 Thanks @Bhut.Avani - please see the comments in the MR.
@alan.cole There's a merge conflict when merging in main to here. Can you resolve?
@Bhut.Avani talked with Alan and it's best if you merge 1.0.x into your MR branch and resolve the conflicts along with the things above. Thanks.
added 27 commits
-
75a8dee2...09d3e7a9 - 26 commits from branch
project:1.0.x
- 88ce358e - Issue #3471093 by avani.bhut: Create mobile CSS for updated SDDS components
-
75a8dee2...09d3e7a9 - 26 commits from branch
Hi @kepol, @Bhut.Avani - I've updated the fork
3471093-mobile-css
branch to resolve the conflicts. Pleasegit pull --rebase
before continuing work, as I have force-pushed a rebase.Edited by Alan ColePlease find updated code in this MR !52 (closed)