forked from Gitlink/forgeplus-react
Change Index Category
This commit is contained in:
parent
d9f87fdd18
commit
78c218b12b
|
@ -361,6 +361,7 @@ class Index extends Component {
|
|||
<div className="ProjectListIndex">
|
||||
<div className="list-left">
|
||||
<Affix offsetTop={5}>
|
||||
<div className="list-affix">
|
||||
<Spin spinning={languageSpin}>
|
||||
<ul className="list-l-Menu">
|
||||
<li className="MenuTitle">
|
||||
|
@ -370,6 +371,8 @@ class Index extends Component {
|
|||
{typeList}
|
||||
</ul>
|
||||
</Spin>
|
||||
</div>
|
||||
<div className="list-affix">
|
||||
<Spin spinning={categorySpin}>
|
||||
<ul className="list-l-Menu">
|
||||
<li className="MenuTitle">
|
||||
|
@ -379,6 +382,9 @@ class Index extends Component {
|
|||
{categoryList}
|
||||
</ul>
|
||||
</Spin>
|
||||
</div>
|
||||
|
||||
|
||||
</Affix>
|
||||
</div>
|
||||
<div
|
||||
|
|
|
@ -136,12 +136,12 @@ form{
|
|||
vertical-align: middle;
|
||||
}
|
||||
.pd510{padding: 5px 10px;}
|
||||
.list-l-Menu::-webkit-scrollbar, .category-popver-content::-webkit-scrollbar { width: 0 !important }
|
||||
.list-affix::-webkit-scrollbar,.category-popver-content::-webkit-scrollbar { width: 0 !important }
|
||||
.category-popver{
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
padding: 10px 16px;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
color: #333333;
|
||||
padding: 10px 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.category-popver:hover, .category-popver.active{
|
||||
background-color: #f8f8f8;
|
||||
|
@ -152,18 +152,22 @@ cursor: pointer;
|
|||
max-height: 600px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.list-l-Menu{
|
||||
.list-affix{
|
||||
-ms-overflow-style: none;
|
||||
overflow: -moz-scrollbars-none;
|
||||
min-height: 200px;
|
||||
max-height: 360px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.list-l-Menu{
|
||||
|
||||
margin-bottom: 12px;
|
||||
border-radius:2px;
|
||||
// border:1px solid rgba(221,221,221,1);
|
||||
background-color: #fff;
|
||||
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
|
||||
border-radius: 5px;
|
||||
min-height: 200px;
|
||||
max-height: 40%;
|
||||
overflow-y: auto;
|
||||
|
||||
&>li{
|
||||
font-size: 1rem;
|
||||
padding:0px 0px 0px 20px;
|
||||
|
|
Loading…
Reference in New Issue