1
0
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:
Michael An 2025-04-11 11:06:49 +08:00 committed by GitHub
parent 272010d55f
commit 1134469495
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 1 additions and 9 deletions

View File

@ -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: {

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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 = {

View File

@ -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 %}

View File

@ -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 %}