]> git.mxchange.org Git - friendica.git/commitdiff
Fix style and scrollbar
authorFabio Comuni <fabrix.xm@gmail.com>
Tue, 19 Jul 2011 14:34:27 +0000 (16:34 +0200)
committerFabio Comuni <fabrix.xm@gmail.com>
Tue, 19 Jul 2011 14:34:27 +0000 (16:34 +0200)
include/acl.js
view/theme/duepuntozero/style.css
view/theme/loozah/style.css

index 41b9b1906494386dfb9a343a3a03848df6193532..a0a1f5dd82d89e4ac3e62da3ae85a7dc5a2775dd 100644 (file)
@@ -11,7 +11,7 @@ function ACL(backend_url, preset){
        that.deny_cid  = (preset[2] || []);
        that.deny_gid  = (preset[3] || []);
        that.group_uids = [];
-       that.nw = 5; that.nh = 5;
+       that.nw = 4; //items per row. should be calulated from #acl-list.width
        
        that.list_content = $("#acl-list-content");
        that.item_tpl = unescape($(".acl-list-item[rel=acl-template]").html());
index 314fb5e754a602deeb890284757b828e2bd9104f..0d940992b933ef751ba16eccc4f173ad22ef8c5a 100644 (file)
@@ -1490,7 +1490,7 @@ input#dfrn-url {
 }
 
 #acl-wrapper {
-       width: 805px;
+       width: 690px;
        float:left;
 }
 #acl-search {
@@ -1516,14 +1516,14 @@ input#dfrn-url {
 }
 
 #acl-list {
-       width: 805px;
        height: 210px;
        border: 1px solid #cccccc;
        clear: both;
        margin-top: 30px;
+       overflow: auto;
 }
 #acl-list-content {
-       overflow: auto;
+       
 }
 .acl-list-item {
        display: block;
index 016b9d837bafa4b65f54394f9c6eadc22de40b72..eac4c4618e7491951b720eb68109507a07e20ba3 100644 (file)
@@ -1568,7 +1568,7 @@ padding: 5px 10px 0px;
 }
 
 #acl-wrapper {
-       width: 805px;
+       width: 690px;
        float:left;
 }
 #acl-search {
@@ -1594,14 +1594,14 @@ padding: 5px 10px 0px;
 }
 
 #acl-list {
-       width: 805px;
        height: 210px;
        border: 1px solid #cccccc;
        clear: both;
        margin-top: 30px;
+       overflow: auto;
 }
 #acl-list-content {
-       overflow: auto;
+
 }
 .acl-list-item {
        display: block;