teltek / PumukitMoodleBundle

1 stars 2 forks source link

Bad appearance of a window in groups avaliables section #21

Closed silviabf closed 8 years ago

silviabf commented 8 years ago

Steps:

Problem: As you can see in the attached picture, one of the window is down moved.

add groups

rubenrua commented 8 years ago

https://github.com/campusdomar/PuMuKIT2/commit/cf2ea9fdba9f8be4f8d07486f8c61227eb2b03be?w=1

silviabf commented 8 years ago

This continues happening

rubenrua commented 8 years ago
diff --git a/src/Pumukit/NewAdminBundle/Resources/views/pumukit2.css.twig b/src/Pumukit/NewAdminBundle/Resources/views/pumukit2.css.twig
index 02b49a2..0c750c7 100644
--- a/src/Pumukit/NewAdminBundle/Resources/views/pumukit2.css.twig
+++ b/src/Pumukit/NewAdminBundle/Resources/views/pumukit2.css.twig
@@ -645,7 +645,8 @@ hr.pumukit-green {
 }

 .pumukitnewadmin-groups-list-box {
-    width:375px;
+    max-width:375px;
+    width: 45%;
     height:220px;
     border: 1px solid #bbb;
     float: left;
@@ -659,7 +660,8 @@ hr.pumukit-green {
 }

 .list-box-width {
-    width:390px;
+    max-width:390px;
+    width: 40%;
 }
Alfro commented 8 years ago

@silviabf Added patch for groups variable width.

silviabf commented 8 years ago

Appearance is correct now. I close this issue.