Explorar el Código

feat(alerting): changed fontsize in alert list

Torkel Ödegaard hace 9 años
padre
commit
434332f02d

+ 1 - 0
pkg/services/alerting/result_handler.go

@@ -64,6 +64,7 @@ func (handler *DefaultResultHandler) Handle(ctx *EvalContext) {
 			PrevState: string(oldState),
 			PrevState: string(oldState),
 			Timestamp: time.Now(),
 			Timestamp: time.Now(),
 		}
 		}
+
 		annotationRepo := annotations.GetRepository()
 		annotationRepo := annotations.GetRepository()
 		if err := annotationRepo.Save(&item); err != nil {
 		if err := annotationRepo.Save(&item); err != nil {
 			handler.log.Error("Failed to save annotation for new alert state", "error", err)
 			handler.log.Error("Failed to save annotation for new alert state", "error", err)

+ 1 - 1
public/sass/components/_cards.scss

@@ -67,7 +67,7 @@
 
 
   &--alert {
   &--alert {
     padding: 0.5rem 1rem;
     padding: 0.5rem 1rem;
-    .card-item-name {
+    .card-item-name a {
       font-size: $font-size-h5;
       font-size: $font-size-h5;
     }
     }
   }
   }