【发布时间】:2021-05-24 11:32:19
【问题描述】:
我有一个非常简单的项目结构,我使用 django-plotly-dash 包在 django 上打包了一个 plotly-dash 应用程序。我已经进行了几次测试,并且已经将所有内容都设置为正常工作,但是当插入破折号应用程序时,会出现一个双滚动条。这是我的代码简历:
base.html
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<title>Dash App</title>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
</head>
<body>
{% block content %}
{% endblock %}
</body>
</html>
dashboard.html
{% extends 'base.html' %}
{% load plotly_dash %}
{% block content %}
<div class="{% plotly_class name='dash-app' %}" style="height: 100%; width: 100%;">
{% plotly_app name="dash-app" ratio=1 %}
</div>
{% endblock %}
Here你可以看到我提到的双滚动条。
知道如何删除一个以便插入的应用使用与浏览器页面相同的应用吗?
【问题讨论】:
标签: css django django-views scrollbar