Skip to content

Commit

Permalink
add view options header
Browse files Browse the repository at this point in the history
  • Loading branch information
BomberFish committed Nov 27, 2024
1 parent 0885d4d commit 20255cc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ a:hover {
}

#timeline {
padding-top: 2em;
padding-top: 0.75em;
}

.xtraDetails {
Expand Down Expand Up @@ -196,6 +196,12 @@ object.attachment {
font-size: 1.2em
}

#viewOptions > label {
position: relative;
top: -0.05em;
margin-left: 0.05em;
}

#newBtn {
position: fixed;
bottom: 1em;
Expand Down
4 changes: 4 additions & 0 deletions src/timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,10 @@ function getUserPage() {
var viewOptions = document.createElement("div");
viewOptions.id = "viewOptions";

var title = document.createElement("h4");
title.innerHTML = "View Options";
viewOptions.appendChild(title);

var onlyMedia = document.createElement("input");
onlyMedia.type = "checkbox";
onlyMedia.id = "onlyMedia";
Expand Down

0 comments on commit 20255cc

Please sign in to comment.