Merge pull request #936 from sharelatex/cmg-gallery-styling

Extra v2 gallery styling
This commit is contained in:
James Allen 2018-09-21 11:06:25 +01:00 committed by GitHub
commit 91ee445277

View file

@ -24,7 +24,7 @@
} }
.tag-link { .tag-link {
margin-right: @margin-xs; margin: 0 @margin-xs @margin-sm 0;
} }
.templates-container { .templates-container {
@ -33,9 +33,12 @@
} }
.template-thumbnail { .template-thumbnail {
&.template-thumbnail__container {
display: inline-block; display: inline-block;
margin: 0 0 1em; margin: 0 0 1em;
width: 100%; width: 100%;
}
.thumbnail { .thumbnail {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin: 5% 0; margin: 5% 0;
@ -68,6 +71,12 @@
.text-overflow(); .text-overflow();
} }
.caption__title {
display: inline-block;
max-width: 100%;
.text-overflow();
}
/* Media Queries */ /* Media Queries */
@media (max-width: @screen-md-min) { @media (max-width: @screen-md-min) {
.thumbnail { .thumbnail {
@ -78,7 +87,6 @@
padding: 5px 50px; padding: 5px 50px;
} }
} }
} }
.section-preview { .section-preview {