]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add scroll to browser test display to allow viewing of all test results
authoralliclemens <allisonclemens.msoe@gmail.com>
Wed, 21 Feb 2018 04:04:28 +0000 (22:04 -0600)
committeralliclemens <allisonclemens.msoe@gmail.com>
Wed, 21 Feb 2018 04:04:28 +0000 (22:04 -0600)
test/javascript/index.html
test/javascript/lib/custom-mocha.css [new file with mode: 0644]

index ab2235d8790e45e5de0db1ecc190a62376893cbd..a310a1071ae72e6cce97564c21743deeb22d16f0 100644 (file)
@@ -7,11 +7,12 @@
     <script src="../../node_modules/jquery/dist/jquery.js"></script>
     <script src="../../_build/assets/js/foundation.js"></script>
     <script src="lib/mocha.js"></script>
+    <link rel="stylesheet" href="lib/custom-mocha.css" />
     <link rel="stylesheet" href="lib/mocha.css" />
     <link rel="stylesheet" href="../../_build/assets/css/foundation-float.css">
     <link rel="stylesheet" href="../../node_modules/motion-ui/dist/motion-ui.css">
   </head>
-  <body>
+  <body id="test-body">
     <div id="mocha"></div>
     <script src="lib/chai.js"></script>
     <script src="lib/chai-jquery.js"></script>
diff --git a/test/javascript/lib/custom-mocha.css b/test/javascript/lib/custom-mocha.css
new file mode 100644 (file)
index 0000000..4d84f86
--- /dev/null
@@ -0,0 +1,3 @@
+#test-body {
+   overflow: scroll;
+ }