Prechádzať zdrojové kódy

Pad the toggle and rename to "Chat Contacts"

to make it clearer that this toggle relates to chatting.
JC Brand 7 rokov pred
rodič
commit
7a254a56e0
4 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 1 1
      css/converse.css
  2. 1 1
      css/inverse.css
  3. 1 1
      sass/_controlbox.scss
  4. 1 1
      src/converse-controlbox.js

+ 1 - 1
css/converse.css

@@ -8015,7 +8015,7 @@ body.reset {
   float: right;
   float: right;
   height: 100%;
   height: 100%;
   margin: 0 0.5em;
   margin: 0 0.5em;
-  padding: 10px 8px 0 8px; }
+  padding: 1em; }
   #conversejs .toggle-controlbox span {
   #conversejs .toggle-controlbox span {
     color: white; }
     color: white; }
 
 

+ 1 - 1
css/inverse.css

@@ -8091,7 +8091,7 @@ body {
   float: right;
   float: right;
   height: 100%;
   height: 100%;
   margin: 0 0.5em;
   margin: 0 0.5em;
-  padding: 10px 8px 0 8px; }
+  padding: 1em; }
   #conversejs .toggle-controlbox span {
   #conversejs .toggle-controlbox span {
     color: white; }
     color: white; }
 
 

+ 1 - 1
sass/_controlbox.scss

@@ -421,7 +421,7 @@
         float: right;
         float: right;
         height: 100%;
         height: 100%;
         margin: 0 $chat-gutter;
         margin: 0 $chat-gutter;
-        padding: 10px 8px 0 8px;
+        padding: 1em;
         span {
         span {
             color: $inverse-link-color;
             color: $inverse-link-color;
         }
         }

+ 1 - 1
src/converse-controlbox.js

@@ -538,7 +538,7 @@
                     // artifacts (i.e. on page load the toggle is shown only to then
                     // artifacts (i.e. on page load the toggle is shown only to then
                     // seconds later be hidden in favor of the control box).
                     // seconds later be hidden in favor of the control box).
                     this.el.innerHTML = tpl_controlbox_toggle({
                     this.el.innerHTML = tpl_controlbox_toggle({
-                        'label_toggle': _converse.connection.connected ? __('Contacts') : __('Toggle chat')
+                        'label_toggle': _converse.connection.connected ? __('Chat Contacts') : __('Toggle chat')
                     })
                     })
                     return this;
                     return this;
                 },
                 },