Explorar o código

use emojione css from CDN

Yuki Takei %!s(int64=8) %!d(string=hai) anos
pai
achega
5d97aed9d4
Modificáronse 3 ficheiros con 2 adicións e 5 borrados
  1. 2 0
      lib/views/layout/layout.html
  2. 0 4
      resource/css/_form.scss
  3. 0 1
      resource/css/_wiki.scss

+ 2 - 0
lib/views/layout/layout.html

@@ -55,6 +55,8 @@
   <link href='https://fonts.googleapis.com/css?family=Lato:400,700' rel='stylesheet' type='text/css'>
   <!-- Font Awesome -->
   <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css">
+  <!-- emojione -->
+  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/emojione@3.1.2/extras/css/emojione.min.css">
 
   {% block html_additional_headers %}{% endblock %}
 

+ 0 - 4
resource/css/_form.scss

@@ -265,10 +265,6 @@
     .img-container {
       display: inline-block;
       width: 30px;
-
-      img.emojione {
-        width: 1.6em;
-      }
     }
   }
   // active line

+ 0 - 1
resource/css/_wiki.scss

@@ -145,7 +145,6 @@ div.body {
   }
 
   img.emojione {
-    width: 1.6em;
     margin-top: -0.3em !important;
     margin-bottom: 0 !important;
     border: none;