Commit 9c54e929 authored by Kevin Abel's avatar Kevin Abel
Browse files

Fix caret positioning on result tabs

It should now be mathematically centered
parent e756cc74
......@@ -58,6 +58,7 @@
margin: 0;
padding: 0;
list-style: none;
position: relative;
li {
display: inline;
......@@ -86,27 +87,30 @@
border-style: solid;
border-width: 0 6px 6px;
border-color: transparent transparent #fff;
bottom: 0;
bottom: -1.425em;
left: 0;
transition: transform 400ms;
#directory_results & {
transform: translateX(2.95em);
transform: translateX(1.3125em);
}
#search_results & {
transform: translateX(4.95em);
&.no-local {
transform: translateX(2.2812em);
}
transform: translateX(1.875em);
}
}
&.state-1:after {
#directory_results & {
transform: translateX(8.95em);
transform: translateX(7em);
}
#search_results & {
transform: translateX(10.35em);
transform: translateX(7.5312em);
}
}
......
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