Skip to content

Commit

Permalink
fix: add missing diagram-js stylesheet to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
misiekhardcore committed Oct 29, 2024
1 parent 2db8946 commit a84c9d3
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bundling/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
</style>

<!-- required viewer styles -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/bpmn-js.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/diagram-js.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/bpmn-js.css">

<!--
this is an example of how to use bpmn-js in a standalone application built with
Expand Down
1 change: 1 addition & 0 deletions custom-bundle/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<script src="https://unpkg.com/[email protected]/dist/jquery.js"></script>

<!-- required viewer styles -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/diagram-js.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/bpmn-js.css">

<!-- example styles -->
Expand Down
3 changes: 2 additions & 1 deletion overlays/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<!-- required viewer styles -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/bpmn-js.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/diagram-js.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/bpmn-js.css">

<style type="text/css">
html, body, #canvas {
Expand Down
1 change: 1 addition & 0 deletions pre-packaged/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Download or simply include the relevant dependencies into your website:

```html
<!-- required viewer styles -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/diagram-js.css" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/bpmn-js.css" />

<script src="https://unpkg.com/[email protected]/dist/bpmn-viewer.development.js"></script>
Expand Down
1 change: 1 addition & 0 deletions starter/viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
-->

<!-- required viewer styles -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/diagram-js.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/bpmn-js.css">

<!-- viewer distro (with pan and zoom) -->
Expand Down
1 change: 1 addition & 0 deletions theming/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<title>bpmn-js Theming</title>

<!-- required viewer styles -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/diagram-js.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/bpmn-js.css">

<!-- viewer distro -->
Expand Down
1 change: 1 addition & 0 deletions url-viewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<title>bpmn-js url viewer demo</title>

<!-- required viewer styles -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/diagram-js.css">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/assets/bpmn-js.css">

<style>
Expand Down

0 comments on commit a84c9d3

Please sign in to comment.