Skip to content

Commit 67d14d5

Browse files
committed
Add max width styling to session details in SessionCard component #361
1 parent 75240c5 commit 67d14d5

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

src/pages/components/sessions/session-card.jsx

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,12 @@ function SessionCard(props) {
134134
<Col className="col-auto session-details-title text-end text-uppercase">
135135
<Trans i18nKey="ACTIVITY_TABLE.DEVICE" />
136136
</Col>
137-
<Col className="col-auto ellipse">
137+
<Col
138+
className="col-auto ellipse"
139+
style={{
140+
maxWidth: "200px",
141+
}}
142+
>
138143
<Tooltip title={props.data.session.DeviceName}>
139144
<span
140145
style={{
@@ -152,7 +157,12 @@ function SessionCard(props) {
152157
<Col className="col-auto session-details-title text-end text-uppercase">
153158
<Trans i18nKey="ACTIVITY_TABLE.CLIENT" />
154159
</Col>
155-
<Col className="col-auto ellipse">
160+
<Col
161+
className="col-auto ellipse"
162+
style={{
163+
maxWidth: "200px",
164+
}}
165+
>
156166
<Tooltip title={props.data.session.Client + " " + props.data.session.ApplicationVersion}>
157167
<span
158168
style={{
@@ -171,7 +181,12 @@ function SessionCard(props) {
171181
<Col className="col-auto session-details-title text-end text-uppercase">
172182
<Trans i18nKey="VIDEO" />
173183
</Col>
174-
<Col className="col-auto ellipse">
184+
<Col
185+
className="col-auto ellipse"
186+
style={{
187+
maxWidth: "200px",
188+
}}
189+
>
175190
<Tooltip title={props.data.session.NowPlayingItem.VideoStream}>
176191
<span
177192
style={{

0 commit comments

Comments
 (0)