Skip to content

Commit

Permalink
Classic Theme Helper : Add testimonials-shortcode.css file to package…
Browse files Browse the repository at this point in the history
… (#40592)

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12300309363

Upstream-Ref: Automattic/jetpack@a2548ca
  • Loading branch information
coder-karen authored and matticbot committed Dec 12, 2024
1 parent 95ec756 commit 622eea3
Show file tree
Hide file tree
Showing 5 changed files with 190 additions and 85 deletions.
58 changes: 29 additions & 29 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions vendor/automattic/jetpack-classic-theme-helper/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ This is an alpha version! The changes listed here are not final.
### Changed
- Updated package dependencies.

### Fixed
- Testimonials: Include shortcode CSS file.

## [0.7.4] - 2024-12-09
### Fixed
- Content Options: Ensure excerpt_length is cast to an int if it is not already, to prevent fatal errors. [#40389]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
.jetpack-testimonial-shortcode {
clear: both;
margin: 0;
overflow: hidden;
padding: 0;
}

.testimonial-entry {
float: left;
margin: 0 0 3em;
padding: 0;
width: 100%;
}

/* Column setting */
.testimonial-entry-column-1 {
width: 100%;
}

.testimonial-entry-column-2 {
margin-right: 4%;
width: 48%;
}

.testimonial-entry-column-3 {
margin-right: 3.5%;
width: 31%;
}

.testimonial-entry-column-4 {
margin-right: 3%;
width: 22%;
}

.testimonial-entry-column-5 {
margin-right: 2.5%;
width: 18%;
}

.testimonial-entry-column-6 {
margin-right: 2%;
width: 15%;
}
.testimonial-entry-first-item-row {
clear: both;
}
.testimonial-entry-last-item-row {
margin-right: 0;
}

@media screen and (max-width:768px) {
.testimonial-entry-mobile-first-item-row{
margin-right: 4%;
width: 48%;
clear:both;
}
.testimonial-entry-first-item-row {
clear:none;
}
.testimonial-entry-mobile-last-item-row{
width: 48%;
margin-right: 0;
}
}

.testimonial-featured-image {
padding: 0;
margin: 0;
}

.testimonial-featured-image img {
border: 0;
height: auto;
max-width: 100%;
vertical-align: middle;
}

.testimonial-entry-title {
font-weight: 700;
margin: 0;
padding: 0;
display: block;
}

.testimonial-featured-image + .testimonial-entry-title {
margin-top: 1.0em;
}

.testimonial-entry-title a {
border: 0;
text-decoration: none;
}

/* Entry Content */
.testimonial-entry-content {
margin: 0.75em 0;
padding: 0;
}

.testimonial-entry-content > :last-child {
margin: 0;
}
Loading

0 comments on commit 622eea3

Please sign in to comment.