Skip to content

Commit

Permalink
Merge pull request #1894 from grafana/ash/fix-missing-styles
Browse files Browse the repository at this point in the history
Bug: Fix `AlertList` styling
  • Loading branch information
zoltanbedi authored Oct 15, 2024
2 parents e17b1c4 + fb1e764 commit 4fb774d
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/styles/_panel-triggers.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
.alert-rule-list {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
list-style-type: none;
}
.alert-rule-item {
display: flex;
align-items: center;
width: 100%;
height: 100%;
background: $card-background;
box-shadow: $card-shadow;
padding: 4px 8px;
border-radius: 4px;
margin-bottom: 4px;
}
.alert-rule-item__icon {
display: flex;
justify-content: center;
align-items: center;
width: 40px;
padding: 0 4px 0 2px;
.icon-gf,
.fa {
font-size: 200%;
position: relative;
top: 2px;
}
}
.alert-list__btn {
margin: 0 2px;
display: flex;
align-items: center;
justify-content: center;
}

.triggers-panel-scroll {
overflow: auto;
}
Expand Down

0 comments on commit 4fb774d

Please sign in to comment.