Skip to content

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

fix(prejoin): Fix CSS for prejoin page according to design

Vlad Piersec8115f86f5957
diff --git a/css/_premeeting-screens.scss b/css/_premeeting-screens.scss
index 32d207c0c6..a93691854c 100644
--- a/css/_premeeting-screens.scss
+++ b/css/_premeeting-screens.scss
@@ -40,6 +40,7 @@
font-weight: 300;
justify-content: center;
line-height: 24px;
+ margin-bottom: 16px;
.url {
display: flex;
@@ -59,6 +60,13 @@
}
}
+ .copy-meeting-text {
+ width: 266px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+
&:hover {
align-self: stretch;
}
@@ -77,8 +85,9 @@
border: 1px solid transparent;
color: white;
outline-width: 0;
- padding: 20px;
+ padding: 8px 0;
text-align: center;
+ width: 100%;
&.focused {
border-bottom: 1px solid white;
@@ -96,41 +105,41 @@
display: inline-block;
font-size: 15px;
line-height: 24px;
- margin: 10px;
+ margin-top: 16px;
padding: 7px 16px;
position: relative;
text-align: center;
width: 286px;
-
+
&.primary {
background: #0376DA;
border: 1px solid #0376DA;
}
-
+
&.secondary {
background: transparent;
border: 1px solid #5E6D7A;
}
-
+
&.text {
width: auto;
font-size: 13px;
margin: 0;
padding: 0;
}
-
+
&.disabled {
background: #5E6D7A;
border: 1px solid #5E6D7A;
color: #AFB6BC;
cursor: initial;
-
+
.icon {
& > svg {
fill: #AFB6BC;
}
}
-
+
.options {
border-left: 1px solid #AFB6BC;
}
@@ -191,4 +200,4 @@
position: absolute;
width: 100%;
}
-}
\ No newline at end of file
+}
diff --git a/react/features/base/premeeting/components/web/CopyMeetingUrl.js b/react/features/base/premeeting/components/web/CopyMeetingUrl.js
index 8d8bd91b16..1094533a0b 100644
--- a/react/features/base/premeeting/components/web/CopyMeetingUrl.js
+++ b/react/features/base/premeeting/components/web/CopyMeetingUrl.js
@@ -163,9 +163,11 @@ class CopyMeetingUrl extends Component<Props, State> {
<div
className = { `url ${showLinkCopied ? 'done' : ''}` }
onClick = { _copyUrl } >
- { !showCopyLink && !showLinkCopied && url }
- { showCopyLink && t('prejoin.copyAndShare') }
- { showLinkCopied && t('prejoin.linkCopied') }
+ <div className = 'copy-meeting-text'>
+ { !showCopyLink && !showLinkCopied && url }
+ { showCopyLink && t('prejoin.copyAndShare') }
+ { showLinkCopied && t('prejoin.linkCopied') }
+ </div>
<Icon
onClick = { _copyUrl }
size = { 24 }