1
0
Fork 0
mirror of https://github.com/redlib-org/redlib.git synced 2025-04-05 14:07:39 +03:00

Convert subscription requests to POST

This commit is contained in:
spikecodes 2021-01-30 21:21:46 -08:00
parent 7933d840b3
commit 269bb0bfb6
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
5 changed files with 64 additions and 63 deletions
static

View file

@ -250,18 +250,18 @@ aside {
margin-top: 20px;
}
#sub_subscription button {
.subscribe, .unsubscribe {
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
}
#subscribe {
.subscribe {
color: var(--foreground);
background-color: var(--accent);
}
#unsubscribe {
.unsubscribe {
color: var(--text);
background-color: var(--highlighted);
}
@ -862,7 +862,7 @@ a.search_subreddit:hover {
/* Settings */
#settings {
#settings, #settings > form {
display: flex;
flex-direction: column;
align-items: center;
@ -937,11 +937,8 @@ input[type="submit"] {
margin-right: auto;
}
#settings_subs > li > a {
#settings_subs .unsubscribe {
margin-left: 30px;
padding: 10px 20px;
border-radius: 5px;
background-color: var(--highlighted);
}
/* Markdown */
@ -1018,7 +1015,7 @@ td, th {
@media screen and (max-width: 480px) {
#version { display: none; }
.post {
grid-template: "post_header post_header post_thumbnail" auto
"post_title post_title post_thumbnail" 1fr