]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixes #9871 (originally by Seba, re-added test in reindeer.css) 24/124/2
authorMarc Englund <marc@vaadin.com>
Mon, 15 Oct 2012 13:01:58 +0000 (16:01 +0300)
committerVaadin Code Review <review@vaadin.com>
Tue, 16 Oct 2012 13:13:38 +0000 (13:13 +0000)
Replaces c/106 (I19008aba2561e41da055bff11dd8dc1bd0632a48)

Change-Id: I21703e541957b7673231788705dfc2c963480e1f

theme-compiler/src/com/vaadin/sass/tree/BlockNode.java
theme-compiler/tests/resources/basic/reindeer.css

index 3c87d3db8276c6041a61c694ab0ad42e4d77518b..5a64a928db3675c0e6e0a575122d39b5c38b8a1c 100644 (file)
@@ -38,11 +38,13 @@ public class BlockNode extends Node implements IVariableNode, InterpolationNode
 
     public String toString(boolean indent) {
         StringBuilder string = new StringBuilder();
+        int i = 0;
         for (final String s : selectorList) {
             string.append(s);
-            if (selectorList.indexOf(s) != selectorList.size() - 1) {
+            if (i != selectorList.size() - 1) {
                 string.append(", ");
             }
+            i++;
         }
         string.append(" {\n");
         for (Node child : children) {
index 22ca405982ec65348eff8a8c9d456fd8c38c3d83..af02070e726d96d34da41c6331436441f3b790d3 100644 (file)
@@ -830,6 +830,10 @@ div.v-app-loading {
        width: 200px;
 }
 
+.v-app-loginpage .v-button, .v-app-loginpage .v-button {
+       float: left;
+}
+
 .v-menubar {
        float: left;
        white-space: nowrap;