Skip to content

Commit 715d82d

Browse files
some styles
1 parent dcc15af commit 715d82d

2 files changed

Lines changed: 13 additions & 16 deletions

File tree

src/MeetingMessage/MeetingMessage.css

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
padding: 9px;
7575
color: #6264a7;
7676
cursor: pointer;
77+
font-size: 13px;
7778
}
7879

7980
.rce-mtmg-bottom--tptitle {
@@ -118,8 +119,9 @@
118119
display: flex;
119120
}
120121

121-
.rce-mitem:hover {
122-
background: #d0d0d0;
122+
.rce-mitem:hover,
123+
.rce-mitem-event:hover {
124+
background: #ececec;
123125
}
124126

125127
.rce-mitem-body {
@@ -137,7 +139,8 @@
137139
}
138140

139141
.rce-mitem-body--top-title {
140-
font-size: 16px;
142+
font-size: 15px;
143+
color: #6264a7;
141144
padding: 0px 15px 0 0;
142145
text-transform: capitalize;
143146
font-weight: 600;
@@ -151,7 +154,7 @@
151154

152155
.rce-mitem-body--bottom-title {
153156
color: #252525;
154-
font-size: 15px;
157+
font-size: 13px;
155158
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
156159
}
157160

@@ -237,10 +240,6 @@
237240
font-size: 12px;
238241
}
239242

240-
.rce-mtmg-record:hover {
241-
background: #d0d0d0;
242-
}
243-
244243
.rce-mtmg-record-time {
245244
position: absolute;
246245
bottom: 5px;

src/MeetingMessage/MeetingMessage.js

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ export class MeetingMessage extends Component {
132132
</div>
133133
}
134134

135-
<div className="rce-mtmg-record">
136-
{
137-
x.event ?
135+
{
136+
x.event &&
137+
<div className="rce-mitem-event">
138138
<div className="rce-mitem-bottom-body">
139139
<div className="rce-mitem-bottom-body-top">
140140
{x.event.title}
@@ -157,7 +157,7 @@ export class MeetingMessage extends Component {
157157
}
158158
</div>
159159
{
160-
x.record ?
160+
x.record &&
161161
<div className="rce-mtmg-call-record">
162162
<div className="rce-mtmg-call-body">
163163
<div
@@ -180,13 +180,11 @@ export class MeetingMessage extends Component {
180180
</div>
181181
</div>
182182
</div>
183-
: null
184183
}
185184
</div>
186185
</div>
187-
: null
188-
}
189-
</div>
186+
</div>
187+
}
190188
</div>
191189
)
192190
})

0 commit comments

Comments
 (0)