mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
fix aside show
This commit is contained in:
parent
63dd4b48c0
commit
1c15c225de
@ -5,7 +5,7 @@
|
||||
{%- set items = resource.pages|find_category(category) %}
|
||||
<li>
|
||||
<h4>{{category}}</h4>
|
||||
<ul >
|
||||
<ul class="{%- if category === post.meta.category %}aside-list-show{%- endif %}">
|
||||
{%- for item in items %}
|
||||
<li class="{%- if item.title === post.title %}current{%- endif %}">
|
||||
<a href="{{permalink_url(item)}}">
|
||||
|
@ -455,16 +455,16 @@ footer ul li > a {
|
||||
cursor: pointer;
|
||||
transition: background .5s, border .5s;
|
||||
border-left: 3px solid transparent;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
background: #F9F9F9;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
background: #F9F9F9;
|
||||
}
|
||||
|
||||
.aside-container li>ul {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.aside-container li>ul.show {
|
||||
.aside-container li>ul.aside-list-show {
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user