Explorar o código

pager /ressources

ouidade hai 6 días
pai
achega
2318caa702

+ 9 - 2
web/themes/custom/reha/dist/css/bundle.css

@@ -3416,8 +3416,15 @@ html.js body.node-type-operation.node-id-7 div.dialog-off-canvas-main-canvas div
   order: 6;
   display: none;
 }
-.page-ressources .view-ressources .pagination {
-  width: 100%;
+.page-ressources .view-ressources .pager {
+  flex: 0 1 100%;
+}
+.page-ressources .view-ressources .pager ul {
+  display: flex;
+  justify-content: center;
+}
+.page-ressources .view-ressources .pager ul li {
+  margin-right: 1rem;
 }
 
 .node-type-ressource {

+ 12 - 2
web/themes/custom/reha/scss/pages/_ressources.scss

@@ -212,8 +212,18 @@
                 }
             }
         }
-        .pagination{
-            width: 100%;
+        // .pagination{
+        //     width: 100%;
+        // }
+        .pager{
+            flex: 0 1 100%;
+            ul{
+                display: flex;
+                justify-content: center;
+                li {
+                    margin-right: 1rem;
+                }
+            }
         }
     }