소스 검색

fixed summary height

Bachir Soussi Chiadmi 7 년 전
부모
커밋
d9bcc76e57
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      sites/all/themes/figureslibres/clameurs/css/dist/styles.css
  2. 1 0
      sites/all/themes/figureslibres/clameurs/css/styles.scss

+ 3 - 1
sites/all/themes/figureslibres/clameurs/css/dist/styles.css

@@ -161,7 +161,9 @@ input {
         .node-thematique .content article.main .field-name-body > * {
           padding: 0 1em 0 0.2em; }
         .node-thematique .content article.main .field-name-body .summary {
-          position: relative; }
+          position: relative;
+          height: 141px;
+          overflow: hidden; }
           .node-thematique .content article.main .field-name-body .summary p {
             font-size: 1.3em; }
         .node-thematique .content article.main .field-name-body .value {

+ 1 - 0
sites/all/themes/figureslibres/clameurs/css/styles.scss

@@ -207,6 +207,7 @@ body{
 				>*{padding:0 1em 0 0.2em;}
 				.summary{
 					position: relative;
+					height:141px; overflow: hidden;
 					p{
 						font-size: 1.3em;
 					}