]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Move the dropdown radius to the right place 6543/head
authorddanh85 <ddanh85@gmail.com>
Mon, 11 May 2015 13:20:49 +0000 (20:20 +0700)
committerddanh85 <ddanh85@gmail.com>
Mon, 11 May 2015 13:20:49 +0000 (20:20 +0700)
scss/foundation/components/_dropdown.scss

index ff1a6ec0ccfc7f0fb6ec34bfdcc3a8850f83f783..22b70636ff7d980bcbc8734fff27db7cb3474189 100644 (file)
@@ -215,8 +215,6 @@ $f-dropdown-radius: $global-radius !default;
   &:hover,
   &:focus { background: $f-dropdown-list-hover-bg; }
 
-  &.radius { @include radius($f-dropdown-radius); }
-
   a {
     display: block;
     padding: $f-dropdown-list-padding;
@@ -249,6 +247,9 @@ $f-dropdown-radius: $global-radius !default;
       // You can also put custom content in these dropdowns
       &.content { @include dropdown-container(content, $triangle:false); }
 
+      // Radius of Dropdown
+      &.radius { @include radius($f-dropdown-radius); }
+
       // Sizes
       &.tiny    { max-width: 200px; }
       &.small   { max-width: 300px; }