Skip to content

Commit 62e1a11

Browse files
authored
feature-9007:Increase spacing below last video room on sidepanel (#9037)
* feature-9007:Increase spacing below last video room on sidepanel * feature-9007: Increase spacing below last video room on sidepanel
1 parent f4aaf01 commit 62e1a11

File tree

3 files changed

+41
-31
lines changed

3 files changed

+41
-31
lines changed

app/components/public/stream/side-panel.hbs

Lines changed: 36 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -56,44 +56,49 @@
5656
{{/if}}
5757
</div>
5858
{{#if this.showVideoRoom}}
59-
<div class="ui inverted vertical fluid menu borderless stream-side-menu" style="margin-top: -20px;">
60-
{{#each this.streams as |stream index|}}
61-
<a href={{href-to 'public.stream.view' @event stream.slugName stream.id }} class="{{if (eq @currentRoom.microlocationId stream.microlocationId) 'video-active'}} item stream-item d-flex items-center" {{on "click" (fn @setupRoomChat stream) }}>
59+
<div class="chat-video-room">
60+
<div>
61+
<div class="ui inverted vertical fluid menu borderless stream-side-menu">
62+
{{#each this.streams as |stream index|}}
63+
<a href={{href-to 'public.stream.view' @event stream.slugName stream.id }} class="{{if (eq @currentRoom.microlocationId stream.microlocationId) 'video-active'}} item stream-item d-flex items-center" {{on "click" (fn @setupRoomChat stream) }}>
6264

63-
<span class="stream-preview-letter" style={{css background-color=(object-at (abs (mod stream.hash this.colors.length)) this.colors)}}>{{truncate (uppercase stream.name) 1 false}}</span>
64-
<span class="ml-2">{{stream.name}}</span>
65-
{{#if (eq index 0)}}
66-
{{#if (gt this.translationChannels.length 1)}}
67-
<div style="display:inline-block;margin-left:50px">
68-
<div class="translation-dropdown-button translation-dropdown-container ">
69-
<UiDropdown class="btn btn-secondary dropdown-toggle"
70-
@onChange={{ action "switchLanguage"}}>
71-
<div class="translation-dropdown-wrapper">
72-
<div class="translation-dropdown-component">
73-
<i style="font-size:1.1em" class="language icon"></i>
74-
</div>
75-
<div class="translation-dropdown-component">
76-
{{this.translationChannels.length}} {{t 'languages'}}
65+
<span class="stream-preview-letter" style={{css background-color=(object-at (abs (mod stream.hash this.colors.length)) this.colors)}}>{{truncate (uppercase stream.name) 1 false}}</span>
66+
<span class="ml-2">{{stream.name}}</span>
67+
{{#if (eq index 0)}}
68+
{{#if (gt this.translationChannels.length 1)}}
69+
<div style="display:inline-block;margin-left:50px">
70+
<div class="translation-dropdown-button translation-dropdown-container ">
71+
<UiDropdown class="btn btn-secondary dropdown-toggle"
72+
@onChange={{ action "switchLanguage"}}>
73+
<div class="translation-dropdown-wrapper">
74+
<div class="translation-dropdown-component">
75+
<i style="font-size:1.1em" class="language icon"></i>
76+
</div>
77+
<div class="translation-dropdown-component">
78+
{{this.translationChannels.length}} {{t 'languages'}}
79+
</div>
80+
<div class="translation-dropdown-component">
81+
<i style="margin-left: 0 !important;text-align: right;"
82+
class="dropdown icon"> </i>
83+
</div>
7784
</div>
78-
<div class="translation-dropdown-component">
79-
<i style="margin-left: 0 !important;text-align: right;"
80-
class="dropdown icon"> </i>
85+
<div class="ui translation menu">
86+
{{#each-in this.translationChannels as |key channel|}}
87+
<div class="item" data-value="{{channel.url}}">{{channel.name}}</div>
88+
{{/each-in}}
89+
</div>
90+
</UiDropdown>
8191
</div>
8292
</div>
83-
<div class="ui translation menu">
84-
{{#each-in this.translationChannels as |key channel|}}
85-
<div class="item" data-value="{{channel.url}}">{{channel.name}}</div>
86-
{{/each-in}}
87-
</div>
88-
</UiDropdown>
89-
</div>
90-
</div>
93+
{{/if}}
9194
{{/if}}
92-
{{/if}}
93-
</a>
95+
</a>
9496

95-
{{/each}}
97+
{{/each}}
98+
</div>
9699
</div>
100+
</div>
101+
97102
{{/if}}
98103

99104
{{#if this.loading}}

app/styles/components/stream.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ i.chat-panel-icon {
116116
background-color: #555 !important;
117117
border: 0 !important;
118118
box-shadow: none !important;
119+
margin-bottom: unset !important;
119120
}
120121

121122
.video-active {

app/styles/pages/public-event.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,3 +230,7 @@
230230
.public-social-links {
231231
margin-top: 1.5rem !important;
232232
}
233+
234+
.chat-video-room {
235+
margin-bottom: 50px !important;
236+
}

0 commit comments

Comments
 (0)