File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed
Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -96,8 +96,9 @@ export default {
9696 return this .icon || typeIcon[this .color ] || typeIcon .warning
9797 },
9898 containerClass () {
99- if (this .position ) {
100- return ` fixed-${ this .position } z-alert`
99+ const pos = this .position
100+ if (pos) {
101+ return ` fixed-${ pos}${ pos === ' left' || pos === ' right' ? ' row items-center' : ' ' } z-alert`
101102 }
102103 },
103104 classes () {
Original file line number Diff line number Diff line change 1+ .q-alert-container
2+ pointer-events none
3+
14.q-alert
25 color $alert-color
36 background $alert-background
47 border-radius $alert-border-radius
58 min-width $alert-min-width
9+ pointer-events all
610
711.q-alert-icon , .q-alert-content
812 padding $alert-padding
Original file line number Diff line number Diff line change 1+ .q-alert-container
2+ pointer-events none
3+
14.q-alert
25 color $alert-color
36 background $alert-background
47 border-radius $alert-border-radius
58 min-width $alert-min-width
9+ pointer-events all
610
711.q-alert-icon , .q-alert-content
812 padding $alert-padding
Original file line number Diff line number Diff line change 1010 transform rotate (205deg )
1111.rotate-270
1212 transform rotate (270deg )
13+ .rotate-315
14+ transform rotate (315deg )
1315.flip-horizontal
1416 transform scale (- 1 , 1 )
1517.flip-vertical
You can’t perform that action at this time.
0 commit comments