Conversation
0a65ca8 to
60e1707
Compare
037b5fc to
2055ec3
Compare
|
IE should be fixed. /CC @mdo for approval Perhaps we should move the arrow in the CSS pseudo selector since it's repeated a lot. |
|
@patrickhlauke: should I add |
493bfcf to
b73b1b8
Compare
yes please |
|
We can skip those SVG changes if we instead make it part of the CSS. Lemme have a crack at that. |
|
Pushed up the changes for the sidebar, but it occurs to me that I'm also using the same icon elsewhere in the subnav, so we likely need those optimizations as well. |
Which optimizations are you referring to? And where is this arrow SVG being used apart from here? |
| <a class="d-inline-flex align-items-center bd-sidenav-group-link" href="/docs/{{ $.Site.Params.docs_version }}/{{ $group_slug }}/{{ if $group.pages }}{{ $link_slug }}/{{ end }}"> | ||
| <svg class="bd-sidenav-group-link-icon" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="currentColor" stroke-width="2" d="M5 14l6-6-6-6" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/></svg> | ||
| <svg class="bd-sidenav-group-link-icon" width="16" height="16" viewbox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path stroke="currentColor" stroke-width="2" d="M5 14l6-6-6-6" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/></svg> | ||
| <div>{{- $group.title -}}</div> |
There was a problem hiding this comment.
In this case, it doesn't matter because the parent element is a flex container and will align everything essentially the same way.
There was a problem hiding this comment.
Shouldn't this be in nav.yml?
5f169a3 to
7c115eb
Compare
|
Alright, I left a couple more comments, but I'd like them addressed soon so that we don't end up with a huge PR. |
070d614 to
dc25c91
Compare
|
I'm putting this on hold because I believe it can be optimized further.
|
74b9710 to
6929fb1
Compare
Fixes IE.
b834c7e to
b24b228
Compare
@mdo: not sure why you used 600px, but this is the proper way to do it. If you want it bigger, we'd need a bigger set of the 2 images.