Loading sass/partials/common/_inline-collapsible.scss +23 −0 Original line number Diff line number Diff line Loading @@ -18,3 +18,26 @@ width: 100%; } } .merge-request-note { & > .collapsed { display: block; max-height: (18em / 13 * 3); // 3× line height position: relative; &::after { background: linear-gradient(transparent, #fff); content: ' '; position: absolute; top: 50%; left: 0; right: 0; bottom: 0; } } .see-more { text-align: left; padding-bottom: 1em; } } Loading
sass/partials/common/_inline-collapsible.scss +23 −0 Original line number Diff line number Diff line Loading @@ -18,3 +18,26 @@ width: 100%; } } .merge-request-note { & > .collapsed { display: block; max-height: (18em / 13 * 3); // 3× line height position: relative; &::after { background: linear-gradient(transparent, #fff); content: ' '; position: absolute; top: 50%; left: 0; right: 0; bottom: 0; } } .see-more { text-align: left; padding-bottom: 1em; } }