@abi-software/map-side-bar 1.5.2 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/map-side-bar",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "main": "./dist/map-side-bar.common.js",
5
5
  "files": [
6
6
  "dist/*",
@@ -77,6 +77,7 @@ export default {
77
77
  },
78
78
  addSearchToHistory(filters, search) {
79
79
  filters = [] // disable filters for now
80
+ search = search.trim() // remove whitespace
80
81
  let searchHistory = JSON.parse(localStorage.getItem('sparc.science-sidebar-search-history'));
81
82
  if (searchHistory) {
82
83
  searchHistory.push({filters: filters, search: search});
@@ -142,5 +143,6 @@ export default {
142
143
  line-height: normal;
143
144
  letter-spacing: normal;
144
145
  color: #292b66;
146
+ max-width: 200px;
145
147
  }
146
148
  </style>