File tree Expand file tree Collapse file tree
assets/javascripts/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- arrow = """ <svg class="_path-arrow"><use xlink:href="#dir"/></svg>"""
1+ arrow = """ <svg class="_path-arrow"><use xlink:href="#dir-icon "/></svg>"""
22
33app .templates .path = (doc , type , entry ) ->
44 html = """ <a href="#{ doc .fullPath ()} " class="_path-item _icon-#{ doc .icon } ">#{ doc .fullName } </a>"""
Original file line number Diff line number Diff line change 11templates = app .templates
22
3- arrow = """ <svg class="_list-arrow"><use xlink:href="#dir"/></svg>"""
3+ arrow = """ <svg class="_list-arrow"><use xlink:href="#dir-icon "/></svg>"""
44
55templates .sidebarDoc = (doc , options = {}) ->
66 link = """ <a href="#{ doc .fullPath ()} " class="_list-item _icon-#{ doc .icon } """
Original file line number Diff line number Diff line change 5454 </ form >
5555</ div >
5656< svg style ="display:none ">
57- < symbol id ="dir "> < svg viewBox ="0 0 20 20 "> < path d ="M15 10c0 .3-.305.515-.305.515l-8.56 5.303c-.625.41-1.135.106-1.135-.67V4.853c0-.777.51-1.078 1.135-.67l8.56 5.305S15 9.702 15 10z "/> </ svg > </ symbol >
57+ < symbol id ="dir-icon "> < svg viewBox ="0 0 20 20 "> < path d ="M15 10c0 .3-.305.515-.305.515l-8.56 5.303c-.625.41-1.135.106-1.135-.67V4.853c0-.777.51-1.078 1.135-.67l8.56 5.305S15 9.702 15 10z "/> </ svg > </ symbol >
5858</ svg >
5959< style data-size ="<%= app_size %> " data-resizer >
6060 ._container { margin-left : <%= app_size %> ; }
You can’t perform that action at this time.
0 commit comments