]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Removes duplicate code 1012/head
authorGeorg Fischer <snorpey@gmail.com>
Thu, 11 Oct 2012 09:10:55 +0000 (12:10 +0300)
committerGeorg Fischer <snorpey@gmail.com>
Thu, 11 Oct 2012 09:10:55 +0000 (12:10 +0300)
```display: block; content:"";``` is already included in ```cssTriangle()```.
This patch removes duplicate output in CSS.

scss/foundation/common/_forms.scss

index 4e793a1115e1ce72988c557042ca5f9fe8804589..af5e0981c7715b364a9b435a0ad3393802a6c613 100644 (file)
@@ -81,7 +81,7 @@
 
       a.current { display: block; width: auto; line-height: 26px; min-height: 28px; padding: 0; padding-#{$defaultFloat}: 6px; padding-#{$defaultOpposite}: 38px; border: solid 1px #ddd; color: #141414; background-color: #fff; white-space: nowrap; }
       a.selector { position: absolute; width: 27px; height: 28px; display: block; #{$defaultOpposite}: 0; top: 0; border: solid 1px #ddd;
-        &:after { content: ""; display: block; @include cssTriangle(5px, #aaa, top); position: absolute; #{$defaultFloat}: 50%; top: 50%; margin-top: -2px; margin-#{$defaultFloat}: -5px;  }
+        &:after { @include cssTriangle(5px, #aaa, top); position: absolute; #{$defaultFloat}: 50%; top: 50%; margin-top: -2px; margin-#{$defaultFloat}: -5px;  }
       }
       &:hover, &.open {
         a.selector { &:after { @include cssTriangle(5px, #222, top); } }