图标调整+iOS平滑滚动
This commit is contained in:
@@ -29,7 +29,10 @@
|
||||
<nav class="header-nav">
|
||||
<div class="social">
|
||||
<% for (let navName in theme.subnav){ %>
|
||||
<a class="<%= navName %>" target="_blank" href="<%- url_for(theme.subnav[navName]) %>" @mouseover="linkMouseover('<%=navName %>')" title="<%= navName %>"><i class="icon icon-<%= navName %>"></i></a>
|
||||
<a class="<%= navName %>" target="_blank" href="<%- url_for(theme.subnav[navName].url) %>"
|
||||
@mouseover="linkMouseover('<%=navName %>')" title="<%= __(theme.subnav[navName].alt) %>">
|
||||
<i class="icon icon-<%= theme.subnav[navName].icon || navName %>"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@@ -15,9 +15,12 @@
|
||||
var ulWidth = count > 2 ? '70%' : '50%' %>
|
||||
<nav class="header-nav">
|
||||
<div class="social">
|
||||
<% for (var i in theme.subnav){ %>
|
||||
<a class="<%= i %>" target="_blank" href="<%- url_for(theme.subnav[i]) %>" title="<%= i %>"><i class="icon icon-<%= i %>"></i></a>
|
||||
<%}%>
|
||||
<% for (let navName in theme.subnav){ %>
|
||||
<a class="<%= navName %>" target="_blank" href="<%- url_for(theme.subnav[navName].url) %>"
|
||||
title="<%= __(theme.subnav[navName].alt) %>">
|
||||
<i class="icon icon-<%= theme.subnav[navName].icon %>"></i>
|
||||
</a>
|
||||
<% } %>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user