Generate URL to restore settings, including subscriptions. Closes #89 (#116)

* Start recursive comments

* Update comment.html

* Fix move error

* Comment improvements

* Fix merge

* Remove extra endif from post.html

* Fix post.html

* Restore setting from link

* Tweak settings page

Co-authored-by: spikecodes <19519553+spikecodes@users.noreply.github.com>
This commit is contained in:
robrobinbin 2021-02-13 21:55:23 +01:00 committed by GitHub
parent ff8685ae4c
commit 93cfc713c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 76 additions and 46 deletions

View file

@ -958,19 +958,21 @@ a.search_subreddit:hover {
/* Settings */
#settings, #settings > form {
display: flex;
flex-direction: column;
align-items: center;
#settings {
max-width: 450px;
}
#settings_note {
font-size: 14px;
max-width: 300px;
margin-top: 10px;
opacity: 0.75;
}
#settings_note a {
color: var(--accent);
}
.prefs {
display: flex;
flex-direction: column;
@ -979,6 +981,7 @@ a.search_subreddit:hover {
padding: 20px;
background: var(--post);
border-radius: 5px;
margin-bottom: 20px;
}
.prefs > div {
@ -987,10 +990,7 @@ a.search_subreddit:hover {
width: 100%;
height: 35px;
align-items: center;
}
.prefs > div:not(:last-of-type) {
margin-bottom: 10px;
margin-top: 10px;
}
.prefs select {
@ -1017,22 +1017,6 @@ input[type="submit"] {
-moz-appearance: none;
}
#settings_subs {
list-style: none;
padding: 0;
}
#settings_subs > li {
display: flex;
margin: 10px 0;
}
#settings_subs > li:last-of-type { margin-bottom: 0; }
#settings_subs > li > span {
padding: 10px 0;
margin-right: auto;
}
#settings_subs .unsubscribe {
margin-left: 30px;
}
@ -1176,6 +1160,10 @@ td, th {
right: 10px;
min-width: auto;
}
#settings {
max-width: unset;
}
aside, #subreddit, #user {
margin: 0;