Skip to content

Instantly share code, notes, and snippets.

@nextab
Last active February 24, 2026 16:07
Show Gist options
  • Select an option

  • Save nextab/e5330aeb7227aa89da362006b9751182 to your computer and use it in GitHub Desktop.

Select an option

Save nextab/e5330aeb7227aa89da362006b9751182 to your computer and use it in GitHub Desktop.
minimalistische Variante
/* #region Google Reviews */
.sb-feed-posts {
display: flex !important;
flex-flow: row wrap;
justify-content: space-between;
.sbr-owl-stage {
align-items: stretch;
display: flex;
flex-flow: row nowrap;
height: 100%;
justify-content: space-between;
.sbr-owl-item {
height: 100%;
.sb-post-item-wrap {
height: 100%;
}
}
}
.sbr-owl-dots {
width: 100%;
.sbr-owl-dot span {
background-color: $secondary;
}
}
}
/* #endregion Google Reviews */
/* Design #3 - Grid mit weißem Background und vernünftig positionierten Sternen */
/* #region Google Review Feed */
.sb-feed-posts {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
.sb-feed-container .sb-feed-posts::after {
width: 100%;
}
.sb-feed-container .sb-feed-posts .sb-post-item-wrap {
background: #fff;
box-shadow: 0 0 5px 1px #0001;
margin-bottom: 2rem !important;
padding: 0.75rem !important;
width: 30%;
}
.sb-feed-container .sb-feed-posts .sb-post-item-wrap .sb-post-item {
height: 100%;
padding-bottom: 2.75rem;
}
.sb-feed-container .sb-feed-posts .sb-post-item-wrap .sb-post-item .sb-item-rating {
bottom: 0;
left: 0;
margin-bottom: 0 !important;
position: absolute;
}
@media only screen and ( min-width: 981px ) {
.sb-feed-container .sb-feed-posts .sb-post-item-wrap:nth-child(4) {
display: none;
}
}
@media only screen and ( max-width: 980px ) {
.sb-feed-container .sb-feed-posts .sb-post-item-wrap {
width: 45%;
}
}
@media only screen and ( max-width: 680px ) {
.sb-feed-container .sb-feed-posts .sb-post-item-wrap {
margin-left: auto;
margin-right: auto;
max-width: 450px;
width: 100%;
}
}
/* #endregion Google Review Feed */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment