General enhancements to improve responsiveness
Added meta tags for viewport to make bulma responsive classes to work, added max height for editor in smaller devices to split the screen vertically
This commit is contained in:
parent
90b86f96a1
commit
e0a1123833
|
@ -2,6 +2,7 @@
|
|||
<html lang="en" style="overflow: hidden">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title><%= config.name %> - Riju</title>
|
||||
<link
|
||||
rel="stylesheet"
|
||||
|
@ -61,8 +62,8 @@
|
|||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div style="height: 100%">
|
||||
<div id="editor" style="height: 100%; margin: 12px; margin-left: 0"></div>
|
||||
<div id="editor-wrapper">
|
||||
<div id="editor" style="height: 100%; margin-top: 30px; margin-left: 0"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column" id="terminal" style="background: black; padding: 0">
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Riju</title>
|
||||
<link rel="stylesheet" href="/css/index.css" />
|
||||
<% if (analyticsTag) { %>
|
||||
|
|
|
@ -5,3 +5,13 @@
|
|||
#header .button {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
#editor-wrapper {
|
||||
max-height: 50vh !important;
|
||||
}
|
||||
}
|
||||
|
||||
#editor-wrapper {
|
||||
height: 100%;
|
||||
}
|
Loading…
Reference in New Issue