Move li.facet-state-minimize in CSS and spacing in ListFacet

Move li.facet-state-minimize in CSS closer to other minimize stuff and remove uneeded spacing in ListFacet
This commit is contained in:
Antoine2711 2020-04-17 17:14:04 -04:00
parent b4278dd701
commit 7730f7048e
2 changed files with 7 additions and 7 deletions

View File

@ -37,7 +37,7 @@ function ListFacet(div, config, options, selection) {
if (!("invert" in this._config)) {
this._config.invert = false;
}
this._options = options || {};
if (!("sort" in this._options)) {
this._options.sort = "name";
@ -46,7 +46,7 @@ function ListFacet(div, config, options, selection) {
this._selection = selection || [];
this._minimizeState = false;
this._blankChoice = (config.selectBlank) ? { s : true, c : 0 } : null;
this._errorChoice = (config.selectError) ? { s : true, c : 0 } : null;

View File

@ -47,11 +47,6 @@ li.facet-container {
.rounded_corners(7px);
}
li.facet-state-minimize {
height: 22px;
overflow: hidden;
}
.facet-title {
padding: 3px 5px;
background: @chrome_primary;
@ -82,6 +77,11 @@ a.facet-title-remove:hover {
background-position: -12px 0px;
}
li.facet-state-minimize {
height: 22px;
overflow: hidden;
}
a.facet-title-minimize {
display: block;
width: 12px;