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: padding in the welcome page and overflow of in small screens (#15690)

ahmedasad236c6b194a073fc
diff --git a/css/_meetings_list.scss b/css/_meetings_list.scss
index 06fb1a72b3..de0a2d888c 100644
--- a/css/_meetings_list.scss
+++ b/css/_meetings_list.scss
@@ -7,8 +7,8 @@
display: flex;
flex-direction: column;
position: relative;
- overflow: auto;
- width: 100%;
+ overflow-y: auto;
+ flex-grow: 1;
.meetings-list-empty {
text-align: center;
diff --git a/css/_variables.scss b/css/_variables.scss
index 4115044bf8..703d517f82 100644
--- a/css/_variables.scss
+++ b/css/_variables.scss
@@ -75,9 +75,12 @@ $welcomePageHeaderBackground: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0,
$welcomePageHeaderBackgroundPosition: center;
$welcomePageHeaderBackgroundRepeat: none;
$welcomePageHeaderBackgroundSize: cover;
-$welcomePageHeaderPaddingBottom: 15px;
+$welcomePageHeaderPadding: 1rem;
$welcomePageHeaderTitleMaxWidth: initial;
$welcomePageHeaderTextAlign: center;
+$welcomePageButtonBg: #0074E0;
+$welcomePageButtonHoverBg: #4687ED;
+$welcomePageButtonFocusOutline: #00225A;
$welcomePageHeaderContainerMarginTop: 104px;
$welcomePageHeaderContainerDisplay: flex;
diff --git a/css/_welcome_page.scss b/css/_welcome_page.scss
index 6292a9d2ea..3ac58b793c 100644
--- a/css/_welcome_page.scss
+++ b/css/_welcome_page.scss
@@ -18,7 +18,7 @@ body.welcome-page {
background-position: $welcomePageHeaderBackgroundPosition;
background-repeat: $welcomePageHeaderBackgroundRepeat;
background-size: $welcomePageHeaderBackgroundSize;
- padding-bottom: $welcomePageHeaderPaddingBottom;
+ padding: $welcomePageHeaderPadding;
background-color: #131519;
overflow: hidden;
position: relative;
@@ -219,14 +219,18 @@ body.welcome-page {
.welcome-page-button {
border: 0;
font-size: 14px;
- background: #0074E0;
+ background: $welcomePageButtonBg;
border-radius: 3px;
color: #FFFFFF;
cursor: pointer;
padding: 16px 20px;
-
+ transition: all 0.2s;
&:focus-within {
- outline: auto 2px #022e61;
+ outline: auto 2px $welcomePageButtonFocusOutline;
+ }
+
+ &:hover {
+ background-color: $welcomePageButtonHoverBg;
}
}
@@ -264,8 +268,7 @@ body.welcome-page {
&.without-content {
.welcome-card {
- min-width: 500px;
- max-width: 580px;
+ max-width: 100dvw;
}
}