mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-02 07:47:32 +00:00
Remove deduplicated css (#7726)
* remove deduplicated css * fix code warnings
This commit is contained in:
parent
272010d55f
commit
1134469495
@ -6,6 +6,7 @@ import { langList } from './constants';
|
|||||||
import '@excalidraw/excalidraw/index.css';
|
import '@excalidraw/excalidraw/index.css';
|
||||||
|
|
||||||
const SimpleViewer = ({ sceneContent = null, isFetching }) => {
|
const SimpleViewer = ({ sceneContent = null, isFetching }) => {
|
||||||
|
// eslint-disable-next-line
|
||||||
const [excalidrawAPI, setExcalidrawAPI] = useState(null);
|
const [excalidrawAPI, setExcalidrawAPI] = useState(null);
|
||||||
const UIOptions = {
|
const UIOptions = {
|
||||||
canvasActions: {
|
canvasActions: {
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
{% load render_bundle from webpack_loader %}
|
{% load render_bundle from webpack_loader %}
|
||||||
|
|
||||||
{% block extra_style %}
|
{% block extra_style %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}seafile-editor/seafile-editor-font.css" />
|
|
||||||
{% render_bundle 'draft' 'css' %}
|
{% render_bundle 'draft' 'css' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
{% load seahub_tags %}
|
{% load seahub_tags %}
|
||||||
|
|
||||||
{% block extra_style %}
|
{% block extra_style %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}seafile-editor/seafile-editor-font.css" />
|
|
||||||
{% render_bundle 'app' 'css' %}
|
{% render_bundle 'app' 'css' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
{% block extra_style %}
|
{% block extra_style %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}sdoc-editor/sdoc-editor-font.css" />
|
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}sdoc-editor/sdoc-editor-font.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}seafile-editor/seafile-editor-font.css" />
|
|
||||||
{% render_bundle 'viewFileSdoc' 'css' %}
|
{% render_bundle 'viewFileSdoc' 'css' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -2,10 +2,6 @@
|
|||||||
{% load seahub_tags i18n %}
|
{% load seahub_tags i18n %}
|
||||||
{% load render_bundle from webpack_loader %}
|
{% load render_bundle from webpack_loader %}
|
||||||
|
|
||||||
{% block extra_style %}
|
|
||||||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}seafile-editor/seafile-editor-font.css" />
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block extra_script %}
|
{% block extra_script %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.sysadmin = {
|
window.sysadmin = {
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
<meta property="og:description" content="{{ filename }}" />
|
<meta property="og:description" content="{{ filename }}" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block extra_style %}
|
{% block extra_style %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}seafile-editor/seafile-editor-font.css" />
|
|
||||||
{% render_bundle 'wiki' 'css' %}
|
{% render_bundle 'wiki' 'css' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
<meta property="og:description" content="{{ filename }}" />
|
<meta property="og:description" content="{{ filename }}" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block extra_style %}
|
{% block extra_style %}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}seafile-editor/seafile-editor-font.css" />
|
|
||||||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}sdoc-editor/sdoc-editor-font.css" />
|
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}sdoc-editor/sdoc-editor-font.css" />
|
||||||
{% render_bundle 'wiki2' 'css' %}
|
{% render_bundle 'wiki2' 'css' %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user