]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix custom CSS help
authorChocobozzz <me@florianbigard.com>
Wed, 20 Mar 2019 13:20:00 +0000 (14:20 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 20 Mar 2019 13:20:00 +0000 (14:20 +0100)
client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html

index b7d95bc22cf8e5fcde1541b85acd09b8f183efd7..6b654c67d5cd96dc5cb45ba0d96c60ba71913660 100644 (file)
                   helpType="custom"
                   i18n-customHtml
                   customHtml="
-                    Write directly CSS code. Example:<br />
+                    Write directly CSS code. Example:<br /><br />
                     <pre>
-          body {{ '{' }}
-            background-color: red;
-          {{ '}' }}
+  #custom-css {{ '{' }}
+    color: red;
+  {{ '}' }}
                     </pre>
 
-                    Prepend with <em>#custom-css</em> to override styles. Example:
+                    Prepend with <em>#custom-css</em> to override styles. Example:<br /><br />
                     <pre>
-          #custom-css .logged-in-email {{ '{' }}
-            color: red;
-          {{ '}' }}
+  #custom-css .logged-in-email {{ '{' }}
+    color: red;
+  {{ '}' }}
                     </pre>
                   "
               ></my-help>