From c1a5f236b623c2a9789b5674b80ee19b9968ff51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Tue, 27 Oct 2020 17:07:47 +0000 Subject: [PATCH] Change logo in Code and Slide empty previews --- www/code/inner.js | 2 +- www/slide/app-slide.less | 1 + www/slide/slide.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/www/code/inner.js b/www/code/inner.js index 1956ab3f4..7dff21c82 100644 --- a/www/code/inner.js +++ b/www/code/inner.js @@ -151,7 +151,7 @@ define([ var $codeMirror = $('.CodeMirror'); $('', { - src: '/customize/main-favicon.png', + src: '/customize/CryptPad_logo.svg', alt: '', class: 'cp-app-code-preview-empty' }).appendTo($previewContainer); diff --git a/www/slide/app-slide.less b/www/slide/app-slide.less index a1a27a7b0..58f139145 100644 --- a/www/slide/app-slide.less +++ b/www/slide/app-slide.less @@ -239,6 +239,7 @@ img { max-width: 100%; max-height: 100%; + opacity: 0.2; } } diff --git a/www/slide/slide.js b/www/slide/slide.js index d11246d6e..c104c5f3b 100644 --- a/www/slide/slide.js +++ b/www/slide/slide.js @@ -78,7 +78,7 @@ define([ if (c === '') { var $empty = $('', { - src: '/customize/main-favicon.png', + src: '/customize/CryptPad_logo.svg', alt: '', class: 'cp-app-code-preview-empty' });