Преглед на файлове

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

j8
Vlad Piersec преди 5 години
родител
ревизия
8115f86f59
променени са 2 файла, в които са добавени 23 реда и са изтрити 12 реда
  1. 18
    9
      css/_premeeting-screens.scss
  2. 5
    3
      react/features/base/premeeting/components/web/CopyMeetingUrl.js

+ 18
- 9
css/_premeeting-screens.scss Целия файл

@@ -40,6 +40,7 @@
40 40
             font-weight: 300;
41 41
             justify-content: center;
42 42
             line-height: 24px;
43
+            margin-bottom: 16px;
43 44
 
44 45
             .url {
45 46
                 display: flex;
@@ -59,6 +60,13 @@
59 60
                 }
60 61
             }
61 62
 
63
+            .copy-meeting-text {
64
+                width: 266px;
65
+                white-space: nowrap;
66
+                overflow: hidden;
67
+                text-overflow: ellipsis;
68
+            }
69
+
62 70
             &:hover {
63 71
                 align-self: stretch;
64 72
             }
@@ -77,8 +85,9 @@
77 85
             border: 1px solid transparent;
78 86
             color: white;
79 87
             outline-width: 0;
80
-            padding: 20px;
88
+            padding: 8px 0;
81 89
             text-align: center;
90
+            width: 100%;
82 91
 
83 92
             &.focused {
84 93
                 border-bottom: 1px solid white;
@@ -96,41 +105,41 @@
96 105
             display: inline-block;
97 106
             font-size: 15px;
98 107
             line-height: 24px;
99
-            margin: 10px;
108
+            margin-top: 16px;
100 109
             padding: 7px 16px;
101 110
             position: relative;
102 111
             text-align: center;
103 112
             width: 286px;
104
-    
113
+
105 114
             &.primary {
106 115
                 background: #0376DA;
107 116
                 border: 1px solid #0376DA;
108 117
             }
109
-    
118
+
110 119
             &.secondary {
111 120
                 background: transparent;
112 121
                 border: 1px solid #5E6D7A;
113 122
             }
114
-    
123
+
115 124
             &.text {
116 125
                 width: auto;
117 126
                 font-size: 13px;
118 127
                 margin: 0;
119 128
                 padding: 0;
120 129
             }
121
-    
130
+
122 131
             &.disabled {
123 132
                 background: #5E6D7A;
124 133
                 border: 1px solid #5E6D7A;
125 134
                 color: #AFB6BC;
126 135
                 cursor: initial;
127
-    
136
+
128 137
                 .icon {
129 138
                     & > svg {
130 139
                         fill: #AFB6BC;
131 140
                     }
132 141
                 }
133
-    
142
+
134 143
                 .options {
135 144
                     border-left: 1px solid #AFB6BC;
136 145
                 }
@@ -191,4 +200,4 @@
191 200
         position: absolute;
192 201
         width: 100%;
193 202
     }
194
-}
203
+}

+ 5
- 3
react/features/base/premeeting/components/web/CopyMeetingUrl.js Целия файл

@@ -163,9 +163,11 @@ class CopyMeetingUrl extends Component<Props, State> {
163 163
                 <div
164 164
                     className = { `url ${showLinkCopied ? 'done' : ''}` }
165 165
                     onClick = { _copyUrl } >
166
-                    { !showCopyLink && !showLinkCopied && url }
167
-                    { showCopyLink && t('prejoin.copyAndShare') }
168
-                    { showLinkCopied && t('prejoin.linkCopied') }
166
+                    <div className = 'copy-meeting-text'>
167
+                        { !showCopyLink && !showLinkCopied && url }
168
+                        { showCopyLink && t('prejoin.copyAndShare') }
169
+                        { showLinkCopied && t('prejoin.linkCopied') }
170
+                    </div>
169 171
                     <Icon
170 172
                         onClick = { _copyUrl }
171 173
                         size = { 24 }

Loading…
Отказ
Запис