Skip to content

Commit f4c604d

Browse files
committed
Improve placement of buttons for editor
1 parent b04266f commit f4c604d

5 files changed

Lines changed: 9 additions & 7 deletions

File tree

public/css/custom.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ input:read-only {
490490
width: 100% !important;
491491
}
492492

493-
#lintButton {
493+
#lintButtonHome {
494494
display: none;
495495
}
496496

@@ -558,7 +558,7 @@ input:read-only {
558558
font-weight: bold;
559559
}
560560
.mobileNav a:hover,
561-
a:active,
562-
a:focus {
561+
.mobileNav a:active,
562+
.mobileNav a:focus {
563563
background: #e7e7e7;
564564
}

public/css/editor.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#preview {
2-
margin-top: -35px;
2+
margin-top: 15px;
33
position: relative;
44
float: right;
55
width: 35%;

public/css/skeleton.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
}
5050

5151
/* For devices larger than 550px */
52-
@media (min-width: 550px) {
52+
@media (min-width: 750px) {
5353
.container {
5454
width: 80%; }
5555
.column,
@@ -166,6 +166,7 @@ a:hover {
166166
/* Buttons
167167
–––––––––––––––––––––––––––––––––––––––––––––––––– */
168168
.button,
169+
#lintButtonHome,
169170
#lintButton,
170171
input[type="submit"],
171172
input[type="reset"],

views/pages/index.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function phoneNum(format) {
2525
}).join('');
2626
}</pre>
2727
<div id="preview">
28-
<button id="lintButton" onClick="lintCode()">Generate result</button>
28+
<button id="lintButtonHome" onClick="lintCode()">Generate result</button>
2929
<pre id="results">
3030
Loading...
3131
</pre>

views/snippets/navbar.ejs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@ if (session.user !== undefined && session.user.tierName === 'Free') {
6767
</div>
6868
</div>
6969
<div class="mobileNav">
70-
<button class="toggleButton">Toggle</button>
70+
<button class="toggleButton"></button>
7171
<div class="mobileMenu">
72+
<a href=""><h3>RandomAPI</h3></a>
7273
<% if (session.loggedin === true) { %>
7374
<a href="">Home</a>
7475
<a href="<%= upgrade %>">Upgrade</a>

0 commit comments

Comments
 (0)