Fixed input prepend and append
[bootswatch] / flatly / bootswatch.less
index 1576d4f..c1b8d40 100644 (file)
@@ -336,7 +336,8 @@ input[type="color"],
   }
 }
 
-.input-prepend.input-append {
+.input-prepend,
+.input-append {
 
   input,
   select,
@@ -364,6 +365,7 @@ input[type="color"],
        .add-on {
                padding: 9px 5px;
                text-shadow: none;
+               border: none;
        }
 }
 
@@ -409,12 +411,6 @@ input[type="file"]{
        line-height: 16px;
 }
 
-.input-append .add-on,
-.input-prepend .add-on {
-       border: none;
-       background: none;
-}
-
 legend {
        border-bottom: none;
        color: @textColor;
@@ -576,6 +572,14 @@ legend {
                        border-radius: 0 0 4px 4px;
                }
        }
+
+       .input-append,
+       .input-prepend {
+
+               .add-on,.btn {
+                       padding: 5px;
+               }
+       }
 }
 
 @media (max-width: 979px) {