Skip to content
Snippets Groups Projects
Commit 77400c18 authored by piotr.kupczyk@id.ethz.ch's avatar piotr.kupczyk@id.ethz.ch
Browse files

NG_UI : layout : make 'rem' font size unit work properly in Chrome (without...

NG_UI : layout : make 'rem' font size unit work properly in Chrome (without setting the font size at the root element the 'rem' behaviour was inconsistent - different default sizes were taken depending if the size was assigned to an element itself or inherited from a parent - in Firefox it worked fine)
parent 1d680fc6
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,9 @@
<meta charset="utf-8" />
<link rel="shortcut icon" href="#" />
<style>
html {
font-size: 16px;
}
body {
height: 100%;
min-height: 100%;
......@@ -23,7 +26,7 @@
</style>
<script>
function loadError() {
window.onload = function() {
window.onload = function () {
let text = 'Error: Could not connect to openBIS.'
let h2 = document.createElement('h2')
var textnode = document.createTextNode(text)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment