diff --git a/src/assets/css/components/views/detections/detection-filter.scss b/src/assets/css/components/views/detections/detection-filter.scss index fccf4be7..091fc8dc 100644 --- a/src/assets/css/components/views/detections/detection-filter.scss +++ b/src/assets/css/components/views/detections/detection-filter.scss @@ -2,7 +2,7 @@ display: flex; flex-direction: column; width: 280px; - margin-right: 20px; + margin-right: 12px; overflow: auto; z-index: 1; border: 1px solid rgba(226, 229, 236, 1) !important; diff --git a/src/assets/css/components/views/entityExplorer/entity-filter.scss b/src/assets/css/components/views/entityExplorer/entity-filter.scss index 11b71e9e..9b236b24 100644 --- a/src/assets/css/components/views/entityExplorer/entity-filter.scss +++ b/src/assets/css/components/views/entityExplorer/entity-filter.scss @@ -2,7 +2,7 @@ display: flex; flex-direction: column; width: 320px; - margin-right: 20px; + margin-right: 12px; overflow: auto; z-index: 1; border: 1px solid rgba(226, 229, 236, 1) !important; diff --git a/src/utils/constants.js b/src/utils/constants.js index 5b7743e4..eb65ce9e 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -38,6 +38,7 @@ export const storageKey = { leftMenuShrink: 'cn-left-menu-shrink', unsavedChange: 'cn-unsaved-change', entitySearchHistory: 'cn-entity-search-history', + detectionSearchHistory: 'cn-detection-search-history', echartLegendFontSize: 'echartLegendFontSize', echartLabelFontSize: 'echartLabelFontSize', tokenExpireCurrentPath: 'token-expire-current-path', diff --git a/src/views/detections/DetectionSearch.vue b/src/views/detections/DetectionSearch.vue index 647773e8..120ce464 100644 --- a/src/views/detections/DetectionSearch.vue +++ b/src/views/detections/DetectionSearch.vue @@ -1,7 +1,7 @@