diff --git a/services/web/public/stylesheets/app/templates-v2.less b/services/web/public/stylesheets/app/templates-v2.less index 98e998714f..9d3fdbfd60 100644 --- a/services/web/public/stylesheets/app/templates-v2.less +++ b/services/web/public/stylesheets/app/templates-v2.less @@ -58,24 +58,20 @@ } .caption { - // Override ShareLatex template styles - background: none; - border: none; - + // Override ShareLatex template styles + background: none; + border: none; text-align: center; - - .description { - font-style: italic; - padding: 5px 0; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - } - } - .caption.caption--portals { - height: 50px; + .caption__description { + font-style: italic; + padding: 5px 0; + .text-overflow(); + + a { + display: inline; + } } /* Media Queries */