Skip to content

Commit 12c9e4f

Browse files
committed
Options page scroll bar fix
1 parent 2e4ca96 commit 12c9e4f

File tree

2 files changed

+24
-14
lines changed

2 files changed

+24
-14
lines changed

extras/index.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</div>
2727
</div>
2828
<div class="section1">
29-
<hr style="border: none; height: 1.5rem" />
29+
<!-- <hr style="border: none; height: 1.5rem" /> -->
3030
<div class="sectionwrap">
3131
<div class="messaging">
3232
<div class="messaging-header">
@@ -69,16 +69,18 @@ <h3>Blocked Users</h3>
6969
</div>
7070
</div>
7171
<div class="section2" id="section2">
72-
<input class="searchbar" placeholder="Search" /><input
72+
<div style="display: flex;margin-top: 1.9rem;">
73+
<input class="searchbar" placeholder="Search" /><input
7374
class="searchbarbutton"
7475
value=""
7576
type="submit"
76-
/>
77-
<div class="buttons">
78-
<button class="selected" data-type="All">All</button>
79-
<button data-type="Website">Website</button>
80-
<button data-type="Editor">Editor</button>
81-
<button data-type="Forums">Forums</button>
77+
/>
78+
<div class="buttons">
79+
<button class="selected" data-type="All">All</button>
80+
<button data-type="Website">Website</button>
81+
<button data-type="Editor">Editor</button>
82+
<button data-type="Forums">Forums</button>
83+
</div>
8284
</div>
8385
<div class="sectionwrap">
8486
<div

extras/style.css

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ a {
209209
}
210210
.section2 {
211211
border: 0px solid black;
212-
min-height: 100% !important;
213-
height: 100vh;
212+
min-height: calc(100% - 2.5rem - 0.5em - 0.5em) !important;
213+
height: calc(100vh - 2.5rem - 0.5em - 0.5em);
214214
width: 70%;
215215
margin-left: 0em;
216216
overflow: auto;
@@ -275,6 +275,13 @@ a {
275275
padding-left: 2rem;
276276
height: 2.5rem;
277277
}
278+
279+
.main-page {
280+
height: 2.5rem;
281+
padding-top: 0.5em;
282+
padding-bottom: 0.5em;
283+
}
284+
278285
.settings-title {
279286
font-size: 1.2rem;
280287
margin-left: 0.8rem;
@@ -297,10 +304,10 @@ a {
297304
margin-bottom: 2.75em;
298305
color: var(--primary-color);
299306
margin-bottom: 0px;
300-
margin-top: 4rem;
307+
/* margin-top: 4rem; */
301308
margin-left: 2rem;
302309
position: relative;
303-
bottom: -1rem;
310+
/* bottom: -1rem; */
304311
}
305312

306313
.searchbarbutton {
@@ -315,9 +322,10 @@ a {
315322
background-position: 47% 46%;
316323
background-size: 20px 20px;
317324
background-repeat: no-repeat;
318-
top: 4.175rem;
325+
bottom: 0px;
319326
position: relative;
320327
left: 0px;
328+
margin-bottom: 0px;
321329
}
322330

323331
.sectionwrap {
@@ -494,7 +502,7 @@ button.secondary-btn {
494502
.buttons {
495503
display: inline-block;
496504
position: relative;
497-
top: 3.1rem;
505+
/* top: 3.1rem; */
498506
border-left: 2px solid var(--searchbar-bg);
499507
margin-left: 0.5rem;
500508
}

0 commit comments

Comments
 (0)