mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Merge pull request #1364 from atmire/search-scope-small-fixes
Fixes to scope select in search
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
[searchPlaceholder]="'search.search-form.placeholder' | translate">
|
[searchPlaceholder]="'search.search-form.placeholder' | translate">
|
||||||
</ds-search-form>
|
</ds-search-form>
|
||||||
<div class="row mb-3 mb-md-1">
|
<div class="row mb-3 mb-md-1">
|
||||||
<div class="labels col-sm-9 offset-sm-3">
|
<div class="labels col-sm-9">
|
||||||
<ds-search-labels *ngIf="searchEnabled" [inPlaceSearch]="inPlaceSearch"></ds-search-labels>
|
<ds-search-labels *ngIf="searchEnabled" [inPlaceSearch]="inPlaceSearch"></ds-search-labels>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -5,5 +5,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.scope-button {
|
.scope-button {
|
||||||
max-width: $search-form-scope-max-width;
|
max-width: var(--ds-search-form-scope-max-width);
|
||||||
}
|
}
|
||||||
|
@@ -82,4 +82,6 @@
|
|||||||
|
|
||||||
--ds-slider-color: #{$green};
|
--ds-slider-color: #{$green};
|
||||||
--ds-slider-handle-width: 18px;
|
--ds-slider-handle-width: 18px;
|
||||||
|
|
||||||
|
--ds-search-form-scope-max-width: 150px;
|
||||||
}
|
}
|
||||||
|
@@ -3,5 +3,3 @@
|
|||||||
|
|
||||||
@import '_bootstrap_variables.scss';
|
@import '_bootstrap_variables.scss';
|
||||||
@import '../../node_modules/bootstrap/scss/variables.scss';
|
@import '../../node_modules/bootstrap/scss/variables.scss';
|
||||||
|
|
||||||
$search-form-scope-max-width: 150px;
|
|
||||||
|
Reference in New Issue
Block a user