diff --git a/customize.dist/ckeditor-contents.css b/customize.dist/ckeditor-contents.css index 4d2abae08..000162c00 100644 --- a/customize.dist/ckeditor-contents.css +++ b/customize.dist/ckeditor-contents.css @@ -205,3 +205,11 @@ a > img { .cp-link-clicked a { cursor: pointer; } + +media-tag { + display: inline-block; +} +media-tag * { + width: 100%; + height: 100%; +} diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 7f9e94423..dc5d054f5 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -418,7 +418,7 @@ define([ var localStore = window.cryptpadStore; localStore.get('hide-alert-teamInvite', function (val) { if (val === '1') { return; } - $(linkWarning).show(); + $(linkWarning).css('display', 'flex'); $(dismissButton).on('click', function () { localStore.put('hide-alert-teamInvite', '1'); diff --git a/www/common/inner/share.js b/www/common/inner/share.js index 457befc22..34b258109 100644 --- a/www/common/inner/share.js +++ b/www/common/inner/share.js @@ -341,7 +341,7 @@ define([ localStore.get('hide-alert-shareLinkWarning', function (val) { if (val === '1') { return; } - $(shareLinkWarning).show(); + $(shareLinkWarning).css('display', 'flex'); $(dismissButton).on('click', function () { localStore.put('hide-alert-shareLinkWarning', '1'); @@ -737,7 +737,7 @@ define([ localStore.get('hide-alert-shareLinkWarning', function (val) { if (val === '1') { return; } - $(shareLinkWarning).show(); + $(shareLinkWarning).css('display', 'flex'); $(dismissButton).on('click', function () { localStore.put('hide-alert-shareLinkWarning', '1');