Skip to content

Commit

Permalink
Feat/tup 631 migrate blog page css from tup (#756)
Browse files Browse the repository at this point in the history
* fix: TUP-631 migrate max-width fix from TUP

* fix: TUP-631 migrate lightgallery in blog from TUP
  • Loading branch information
wesleyboar authored Dec 11, 2023
1 parent c9b00cf commit 794eefb
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,17 @@ Styleguide Components.DjangoCMS.Blog.App.Page
clear: both;
}

/* To support gallery feature */
/* SEE: ./lightgallery.css */
.app-blog .lightgallery {
--min-width: 230px;
}
@supports selector(:has(*)) {
.app-blog .lightgallery a:has(figcaption) {
align-items: start;
}
}



/* Media & Content - Content */
Expand Down Expand Up @@ -164,7 +175,7 @@ Styleguide Components.DjangoCMS.Blog.App.Page
:--article-page .blog-content .align-center,
:--article-page .blog-content .align-right,
:--article-page .blog-content .align-left {
max-width: unset;
max-width: 100%;
}
:--article-page .blog-content .align-right,
:--article-page .blog-content .align-left {
Expand Down

0 comments on commit 794eefb

Please sign in to comment.