Browse Source

revert last commit

ouidade 3 năm trước cách đây
mục cha
commit
8474dad8bc

+ 3 - 5
web/themes/custom/eql/css-compiled/styles.css

@@ -975,13 +975,11 @@ a {
           display: flex;
           flex-direction: column; }
           .path-actualites .block-region-content .block-views .node-type-actualite div:first-child :nth-child(1) {
-            order: 3; }
-          .path-actualites .block-region-content .block-views .node-type-actualite div:first-child :nth-child(2) {
             order: 1; }
-          .path-actualites .block-region-content .block-views .node-type-actualite div:first-child :nth-child(3) {
-            order: 2; }
           .path-actualites .block-region-content .block-views .node-type-actualite div:first-child :nth-child(4) {
-            order: 4; }
+            order: 2; }
+          .path-actualites .block-region-content .block-views .node-type-actualite div:first-child :nth-child(5) {
+            order: 3; }
           .path-actualites .block-region-content .block-views .node-type-actualite div:first-child a {
             color: #09398b; }
           .path-actualites .block-region-content .block-views .node-type-actualite div:first-child .field--name-field-images .field__item img {

+ 7 - 7
web/themes/custom/eql/scss/pages/_toutesactualites.scss

@@ -34,15 +34,15 @@
                     display: flex;
                     flex-direction: column;
             
-                    // :nth-child(1) { order: 1; } 
+                    :nth-child(1) { order: 1; } 
                     
-                    // :nth-child(4) { order: 2; }  
-                    // :nth-child(5) { order: 3; }    
+                    :nth-child(4) { order: 2; }  
+                    :nth-child(5) { order: 3; }    
 
-                    :nth-child(1) { order: 3; } 
-                    :nth-child(2) { order: 1; } 
-                    :nth-child(3) { order: 2; }  
-                    :nth-child(4) { order: 4; }    
+                    // :nth-child(1) { order: 3; } 
+                    // :nth-child(2) { order: 1; } 
+                    // :nth-child(3) { order: 2; }  
+                    // :nth-child(4) { order: 4; }    
                     a{
                         color: $blue-dark;
                     }