mirror of
https://github.com/haiwen/seahub.git
synced 2025-04-28 03:10:45 +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';
|
||||
|
||||
const SimpleViewer = ({ sceneContent = null, isFetching }) => {
|
||||
// eslint-disable-next-line
|
||||
const [excalidrawAPI, setExcalidrawAPI] = useState(null);
|
||||
const UIOptions = {
|
||||
canvasActions: {
|
||||
|
@ -2,7 +2,6 @@
|
||||
{% load render_bundle from webpack_loader %}
|
||||
|
||||
{% block extra_style %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}seafile-editor/seafile-editor-font.css" />
|
||||
{% render_bundle 'draft' 'css' %}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
{% load seahub_tags %}
|
||||
|
||||
{% block extra_style %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}seafile-editor/seafile-editor-font.css" />
|
||||
{% render_bundle 'app' 'css' %}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
{% 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 }}seafile-editor/seafile-editor-font.css" />
|
||||
{% render_bundle 'viewFileSdoc' 'css' %}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -2,10 +2,6 @@
|
||||
{% load seahub_tags i18n %}
|
||||
{% 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 %}
|
||||
<script type="text/javascript">
|
||||
window.sysadmin = {
|
||||
|
@ -11,7 +11,6 @@
|
||||
<meta property="og:description" content="{{ filename }}" />
|
||||
{% endblock %}
|
||||
{% block extra_style %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}seafile-editor/seafile-editor-font.css" />
|
||||
{% render_bundle 'wiki' 'css' %}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
<meta property="og:description" content="{{ filename }}" />
|
||||
{% endblock %}
|
||||
{% 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" />
|
||||
{% render_bundle 'wiki2' 'css' %}
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user