Small fixes
This commit is contained in:
14
web/dist/main.css
vendored
14
web/dist/main.css
vendored
@@ -386,6 +386,8 @@ html {
|
||||
.address {
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
height: 50px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.street {
|
||||
@@ -467,6 +469,14 @@ html {
|
||||
}
|
||||
|
||||
@media (max-width : 768px) {
|
||||
.address {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.hours-ago {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.filter-bottom {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
@@ -480,6 +490,10 @@ html {
|
||||
align-items: baseline;
|
||||
}
|
||||
|
||||
.filter-bottom .confirm {
|
||||
background-color: #b6d53b;
|
||||
}
|
||||
|
||||
.listings-count {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@@ -263,7 +263,8 @@ export default class Filters extends React.Component {
|
||||
<div className="clear-both" />
|
||||
<div className="filter-bottom">
|
||||
<div onClick={this.onResetSearch.bind(this)} className="filter-btn">Poništi</div>
|
||||
<div onClick={this.onRefreshClick.bind(this, true)} className="filter-btn">Potvrdi</div>
|
||||
<div onClick={this.onRefreshClick.bind(this, true)}
|
||||
className="filter-btn confirm">Potvrdi</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -165,6 +165,14 @@ export default class Listings extends React.Component {
|
||||
})
|
||||
}
|
||||
|
||||
resultsString (count) {
|
||||
if (count == "1") {
|
||||
return "rezultat"
|
||||
}
|
||||
|
||||
return "rezultata"
|
||||
}
|
||||
|
||||
render () {
|
||||
const {listings = new Map(), totalCount, sort} = this.props
|
||||
|
||||
@@ -187,7 +195,7 @@ export default class Listings extends React.Component {
|
||||
</div>
|
||||
</div>
|
||||
<div className="listings-count">
|
||||
{totalCount} rezultata
|
||||
{totalCount} {this.resultsString(totalCount)}
|
||||
</div>
|
||||
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user