mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-06 12:45:22 +08:00
fix: 修改添加分组和search为响应式及footer样式
This commit is contained in:
parent
ad0b2e5cde
commit
0c2515caa8
@ -43,9 +43,9 @@ class FootItem extends Component {
|
||||
render () {
|
||||
return (
|
||||
<div className = 'footItem'>
|
||||
<h4><Icon type= { this.props.iconType } style={{ fontSize: 16 }} /> { this.props.title } </h4>
|
||||
<h4><Icon type= { this.props.iconType } style={{ fontSize: 16 }} /> { this.props.title } </h4>
|
||||
{ this.props.linkList.map(function(item,i){
|
||||
return (<div key = {i}><a href = { item.itemLink }><span>{ item.itemTitle }</span></a></div>);
|
||||
return (<div key = {i}> <a href = { item.itemLink }><span>{ item.itemTitle }</span></a></div>);
|
||||
}) }
|
||||
</div>
|
||||
);
|
||||
|
@ -47,7 +47,7 @@
|
||||
}
|
||||
a{
|
||||
font-weight: 200;
|
||||
color: #108ee9;
|
||||
color: #b3bdc1;
|
||||
&:hover{
|
||||
color: white;
|
||||
}
|
||||
|
@ -36,15 +36,32 @@
|
||||
}
|
||||
}
|
||||
.group-operate {
|
||||
height: 48px;
|
||||
min-width: 263px;
|
||||
padding: 10px 6px;
|
||||
background: #eee;
|
||||
.search {
|
||||
display: inline-block;
|
||||
margin-right: 6px;
|
||||
width: 162px;
|
||||
|
||||
@media screen and (min-width:1100px){
|
||||
.search {
|
||||
display: inline-block;
|
||||
margin-right: 6px;
|
||||
width: 162px;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width:1100px){
|
||||
.search {
|
||||
display: inline-block;
|
||||
margin-right: 6px;
|
||||
width: 80%;
|
||||
margin: 0px auto;
|
||||
display: block;
|
||||
}
|
||||
button{
|
||||
width: 80%;
|
||||
margin: 0px auto;
|
||||
display: block;
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.group-list {
|
||||
max-height: 650px;
|
||||
|
Loading…
Reference in New Issue
Block a user