Commit d0be74ac authored by Jdlrobson's avatar Jdlrobson Committed by Gerrit Code Review
Browse files

Merge "Vertically center clear icon within search form element"

parents 7020a766 2b9929a5
Showing with 6 additions and 3 deletions
+6 -3
......@@ -9,12 +9,15 @@
top: @siteHeaderHeight;
}
@icon-height-halved: unit( ( @icon-touch-area-sm / 2 ) / @font-size-browser, em );
.clear {
position: absolute;
top: ( @siteHeaderHeight / 2 ) - @icon-height-halved;
top: 50%;
right: 0;
transform: translateY( -50% );
}
.search-box {
position: relative;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment