From d4da93fc6c51e39580b7116e9a610f38bf46ead1 Mon Sep 17 00:00:00 2001 From: Ignacio DM Date: Fri, 29 Jul 2022 12:13:17 -0300 Subject: [PATCH] Improve examples Switch to HTML5 instead of quirks mode Change CSS to flex to properly fill entire viewport Remove unneeded and outdated .js and .css links --- src/examples/app.js | 4 +++- src/examples/app.scss | 5 +++++ src/examples/graph.js | 2 +- src/examples/index.html | 9 ++------- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/examples/app.js b/src/examples/app.js index 072cd399..1729f358 100644 --- a/src/examples/app.js +++ b/src/examples/app.js @@ -35,7 +35,9 @@ class App extends React.Component { render() { return ( -
+
-
+
(this.GraphView = el)} allowMultiselect={allowMultiselect} diff --git a/src/examples/index.html b/src/examples/index.html index a1b8d54b..973ac001 100644 --- a/src/examples/index.html +++ b/src/examples/index.html @@ -12,19 +12,14 @@ See the License for the specific language governing permissions and limitations under the License. --> + react-digraph examples -
- - - - - - \ No newline at end of file +