Skip to content

Commit 4fb774d

Browse files
authored
Merge pull request #1894 from grafana/ash/fix-missing-styles
Bug: Fix `AlertList` styling
2 parents e17b1c4 + fb1e764 commit 4fb774d

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

src/styles/_panel-triggers.scss

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
.alert-rule-list {
2+
display: flex;
3+
flex-direction: row;
4+
flex-wrap: wrap;
5+
justify-content: space-between;
6+
list-style-type: none;
7+
}
8+
.alert-rule-item {
9+
display: flex;
10+
align-items: center;
11+
width: 100%;
12+
height: 100%;
13+
background: $card-background;
14+
box-shadow: $card-shadow;
15+
padding: 4px 8px;
16+
border-radius: 4px;
17+
margin-bottom: 4px;
18+
}
19+
.alert-rule-item__icon {
20+
display: flex;
21+
justify-content: center;
22+
align-items: center;
23+
width: 40px;
24+
padding: 0 4px 0 2px;
25+
.icon-gf,
26+
.fa {
27+
font-size: 200%;
28+
position: relative;
29+
top: 2px;
30+
}
31+
}
32+
.alert-list__btn {
33+
margin: 0 2px;
34+
display: flex;
35+
align-items: center;
36+
justify-content: center;
37+
}
38+
139
.triggers-panel-scroll {
240
overflow: auto;
341
}

0 commit comments

Comments
 (0)