fix home project list hight
parent
15ca14b152
commit
2837bedf8d
|
@ -74,6 +74,7 @@ ProjectsPaginationDirective = ($timeout) ->
|
||||||
renderNextAndPrev = ->
|
renderNextAndPrev = ->
|
||||||
if projects.length
|
if projects.length
|
||||||
pageSize = $el.find(".v-pagination-list").height()
|
pageSize = $el.find(".v-pagination-list").height()
|
||||||
|
console.log pageSize
|
||||||
containerSize = container.height()
|
containerSize = container.height()
|
||||||
if containerSize > pageSize
|
if containerSize > pageSize
|
||||||
visible(nextBtn)
|
visible(nextBtn)
|
||||||
|
|
|
@ -60,14 +60,18 @@
|
||||||
.all-projects {
|
.all-projects {
|
||||||
@include table-flex-child(1, 285px, 0, 285px);
|
@include table-flex-child(1, 285px, 0, 285px);
|
||||||
background-color: rgba(0, 0, 0, .5);
|
background-color: rgba(0, 0, 0, .5);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
margin-left: 1rem;
|
margin-left: 1rem;
|
||||||
|
max-height: 396px;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
h1 {
|
h1 {
|
||||||
color: $whitish;
|
color: $whitish;
|
||||||
|
flex-shrink: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.v-pagination-list {
|
.v-pagination-list {
|
||||||
height: 385px;
|
max-height: 221px;
|
||||||
}
|
}
|
||||||
ul {
|
ul {
|
||||||
left: 0;
|
left: 0;
|
||||||
|
@ -97,16 +101,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.projects-pagination {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.create-project-button-wrapper {
|
.create-project-button-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.button-green {
|
.button-green {
|
||||||
color: $whitish;
|
color: $whitish;
|
||||||
left: 0;
|
|
||||||
position: absolute;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
top: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $whitish;
|
color: $whitish;
|
||||||
|
|
Loading…
Reference in New Issue