Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat: make the hangup button first

Bettenbuk Zoltand11735b04c57
diff --git a/css/_mini_toolbox.scss b/css/_mini_toolbox.scss
index 28cdc96801..ba52a9b54e 100644
--- a/css/_mini_toolbox.scss
+++ b/css/_mini_toolbox.scss
@@ -17,15 +17,6 @@
cursor: initial;
}
}
-
- .toolbox-button {
- &:nth-child(2) {
- svg {
- fill: $hangupColor;
- }
- }
- }
-
}
.always-on-top-toolbox {
@@ -43,6 +34,12 @@
}
}
+ &:nth-child(2) {
+ svg {
+ fill: $hangupColor;
+ }
+ }
+
&:last-child {
.toolbox-icon {
border-top-right-radius: 3px;
@@ -56,6 +53,12 @@
flex-direction: column;
.toolbox-button {
+ &:nth-child(1) {
+ svg {
+ fill: $hangupColor;
+ }
+ }
+
.toolbox-icon {
border-radius: 3px;
}
diff --git a/react/features/filmstrip/components/web/Toolbar.js b/react/features/filmstrip/components/web/Toolbar.js
index 6ad3a96936..5499ddf7d6 100644
--- a/react/features/filmstrip/components/web/Toolbar.js
+++ b/react/features/filmstrip/components/web/Toolbar.js
@@ -40,12 +40,12 @@ class Toolbar extends Component<Props> {
<div
className = 'filmstrip-toolbox'
id = 'new-toolbox'>
- <AudioMuteButton
- tooltipPosition = 'left'
- visible = { this._shouldShowButton('microphone') } />
<HangupButton
tooltipPosition = 'left'
visible = { this._shouldShowButton('hangup') } />
+ <AudioMuteButton
+ tooltipPosition = 'left'
+ visible = { this._shouldShowButton('microphone') } />
<VideoMuteButton
tooltipPosition = 'left'
visible = { this._shouldShowButton('camera') } />