Merge pull request 'FIX: #1145 Fix SCSS errors' (#1146) from scss-errors into main

Reviewed-on: https://git.joinplu.me/Plume/Plume/pulls/1146
This commit is contained in:
KitaitiMakoto 2023-04-16 07:13:55 +00:00
commit 9425b44d08
3 changed files with 3 additions and 4 deletions

View File

@ -228,7 +228,7 @@ main .article-meta {
fill: currentColor; fill: currentColor;
} }
.action.liked:hover svg.feather { .action.liked:hover svg.feather {
background: transparentize($red, 0.75) background: transparentize($red, 0.75);
color: $red; color: $red;
} }
} }
@ -252,7 +252,7 @@ main .article-meta {
background: $primary; background: $primary;
} }
.action.reshared:hover svg.feather { .action.reshared:hover svg.feather {
background: transparentize($primary, 0.75) background: transparentize($primary, 0.75);
color: $primary; color: $primary;
} }
} }

View File

@ -2,7 +2,6 @@ use activitystreams::activity::{Announce, Create, Delete, Follow, Like, Undo, Up
use crate::{ use crate::{
comments::Comment, comments::Comment,
db_conn::DbConn,
follows, likes, follows, likes,
posts::{Post, PostUpdate}, posts::{Post, PostUpdate},
reshares::Reshare, reshares::Reshare,

View File

@ -169,7 +169,7 @@ impl User {
} }
for comment in Comment::list_by_author(conn, self.id)? { for comment in Comment::list_by_author(conn, self.id)? {
let delete_activity = comment.build_delete(&conn)?; let delete_activity = comment.build_delete(conn)?;
crate::inbox::inbox( crate::inbox::inbox(
conn, conn,
serde_json::to_value(&delete_activity).map_err(Error::from)?, serde_json::to_value(&delete_activity).map_err(Error::from)?,