|
@@ -86,7 +86,7 @@
|
|
|
<img class="alert-card__icon" :src="item.icon" alt="" />
|
|
<img class="alert-card__icon" :src="item.icon" alt="" />
|
|
|
<span>{{ item.category }}</span>
|
|
<span>{{ item.category }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="alert-card__level">
|
|
|
|
|
|
|
+ <div class="alert-card__level" v-if="item.risk_level">
|
|
|
<span class="alert-card__level-dot"></span>
|
|
<span class="alert-card__level-dot"></span>
|
|
|
<span>{{ item.risk_level }}</span>
|
|
<span>{{ item.risk_level }}</span>
|
|
|
</div>
|
|
</div>
|
|
@@ -841,7 +841,7 @@ defineExpose({ refreshAlerts: fetchAlertCards, refreshZones: fetchZones, reloadF
|
|
|
height: 28px;
|
|
height: 28px;
|
|
|
padding: 0 10px;
|
|
padding: 0 10px;
|
|
|
border-radius: 14px;
|
|
border-radius: 14px;
|
|
|
- background: rgba(255, 255, 255, 0.05);
|
|
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.1);
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
|
|
|
|
|
@@ -1041,7 +1041,7 @@ defineExpose({ refreshAlerts: fetchAlertCards, refreshZones: fetchZones, reloadF
|
|
|
<style lang="scss">
|
|
<style lang="scss">
|
|
|
.crop-switch-tooltip {
|
|
.crop-switch-tooltip {
|
|
|
z-index: 3000 !important;
|
|
z-index: 3000 !important;
|
|
|
- padding: 6px !important;
|
|
|
|
|
|
|
+ padding: 0 !important;
|
|
|
min-width: 128px;
|
|
min-width: 128px;
|
|
|
border: 1px solid rgba(255, 255, 255, 0.12) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.12) !important;
|
|
|
border-radius: 12px !important;
|
|
border-radius: 12px !important;
|
|
@@ -1058,6 +1058,9 @@ defineExpose({ refreshAlerts: fetchAlertCards, refreshZones: fetchZones, reloadF
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
gap: 2px;
|
|
gap: 2px;
|
|
|
|
|
+ max-height: 160px;
|
|
|
|
|
+ overflow: auto;
|
|
|
|
|
+ padding: 6px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.crop-option-item {
|
|
.crop-option-item {
|