Commits

Daniel Poelzleithner committed db91c20

better stylesheet for ignore area list

Comments (0)

Files changed (2)

app/main/initiative/_details.lua

       label   = _"Initiative quorum",
       value = format.percentage(policy.initiative_quorum_num / policy.initiative_quorum_den)
     }
-    ui.field.text{
-      label   = _"Currently required",
-      value = math.ceil(initiative.issue.population * (policy.initiative_quorum_num / policy.initiative_quorum_den)),
-    }
+    if initiative.issue.population then
+      ui.field.text{
+        label   = _"Currently required",
+        value = math.ceil(initiative.issue.population * (policy.initiative_quorum_num / policy.initiative_quorum_den)),
+      }
+    end
   -- ui.field.date{ label = _"Revoked at", name = "revoked" }
     ui.field.boolean{ label = _"Admitted", name = "admitted" }
   end
 div.ignore_area_list {
   float: left; 
   width: 90%; 
-  margin: 20px 0 1em 0; 
+  margin: 0 0 1em 0;
 }
 
 div.ignore_area_list > 
 div.ignore_area_item {
   clear: none;
   float: left; 
-  width: 20em;
+  min-width: 10em;
   margin: 0.1ex 0.5em;
+  margin-right: 0.5em;
 }
 
 div.ignore_area_item > input {
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.