File tree Expand file tree Collapse file tree 3 files changed +25
-6
lines changed Expand file tree Collapse file tree 3 files changed +25
-6
lines changed Original file line number Diff line number Diff line change 20
20
top : 0 ;
21
21
}
22
22
23
- > img {
23
+ > img .background {
24
24
bottom : 0 ;
25
25
left : 0 ;
26
26
position : absolute ;
39
39
right : 0 ;
40
40
width : 100% ;
41
41
42
- img {
42
+ img .background {
43
43
left : 0 ;
44
44
position : absolute ;
45
45
right : 0 ;
56
56
width : 100% ;
57
57
58
58
.info {
59
+ align-items : center ;
59
60
bottom : 20% ;
61
+ flex-wrap : wrap ;
60
62
position : absolute ;
61
63
64
+ .logo {
65
+ max-height : 100px ;
66
+ max-width : 300px ;
67
+ }
68
+
62
69
.event {
63
70
font-weight : 300 ;
64
71
}
106
113
}
107
114
}
108
115
}
116
+
117
+ @media (max-width : 550px ) {
118
+ .info {
119
+ bottom : 5% ;
120
+ }
121
+ }
109
122
}
110
123
}
111
124
}
Original file line number Diff line number Diff line change 80
80
.mr-2 {
81
81
margin-right : .5rem !important ;
82
82
}
83
+
84
+ .mr-8 {
85
+ margin-right : 2rem !important ;
86
+ }
Original file line number Diff line number Diff line change 1
1
<UnverifiedUserMessage />
2
2
<div class =" public-event ui relaxed grid" >
3
3
<div class =" sixteen wide column lead {{ if this.smallLead ' small' }} " >
4
- <Widgets::SafeImage @src ={{ if this.model.largeImageUrl this.model.largeImageUrl this.model.originalImageUrl }} />
4
+ <Widgets::SafeImage class = " background " @src ={{ if this.model.largeImageUrl this.model.largeImageUrl this.model.originalImageUrl }} />
5
5
<div class =" content" >
6
6
<div class =" ui container" >
7
- <div class =" ui grid info" >
8
- <div class =" one wide column" ></div >
9
- <div class =" fifteen wide column" >
7
+ <div class =" ui info d-flex" >
8
+ {{ #if this.model.logoUrl }}
9
+ <img src =" {{ this.model.logoUrl }} " class =" logo mr-8" />
10
+ {{ /if }}
11
+ <div >
10
12
<h4 class =" event time" >{{ header-date this.model.startsAt this.model.timezone }} </h4 >
11
13
{{ #if this.displayEndDate }}
12
14
<h5 class =" event time ends" >{{ t ' To' }} {{ header-date this.model.endsAt this.model.timezone }} </h5 >
You can’t perform that action at this time.
0 commit comments