aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/reviewDB/components/ReviewsView.tsx2
-rw-r--r--src/plugins/reviewDB/index.tsx4
-rw-r--r--src/plugins/reviewDB/style.css3
3 files changed, 7 insertions, 2 deletions
diff --git a/src/plugins/reviewDB/components/ReviewsView.tsx b/src/plugins/reviewDB/components/ReviewsView.tsx
index 541500c..466e9d4 100644
--- a/src/plugins/reviewDB/components/ReviewsView.tsx
+++ b/src/plugins/reviewDB/components/ReviewsView.tsx
@@ -57,7 +57,7 @@ export default function ReviewsView({ userId }: { userId: string; }) {
}
return (
- <div className="ReviewDB">
+ <div className="vc-reviewdb-view">
<Text
tag="h2"
variant="eyebrow"
diff --git a/src/plugins/reviewDB/index.tsx b/src/plugins/reviewDB/index.tsx
index 8e83983..01740a2 100644
--- a/src/plugins/reviewDB/index.tsx
+++ b/src/plugins/reviewDB/index.tsx
@@ -16,6 +16,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+import "./style.css";
+
import { Settings } from "@api/settings";
import ErrorBoundary from "@components/ErrorBoundary";
import { Devs } from "@utils/constants";
@@ -38,7 +40,7 @@ export default definePlugin({
replacement: {
match: /\(.{0,10}\{user:(.),setNote:.,canDM:.,.+?\}\)/,
replace: "$&,$self.getReviewsComponent($1)"
- },
+ }
}
],
diff --git a/src/plugins/reviewDB/style.css b/src/plugins/reviewDB/style.css
new file mode 100644
index 0000000..6171abe
--- /dev/null
+++ b/src/plugins/reviewDB/style.css
@@ -0,0 +1,3 @@
+[class|="section"]:not([class|="lastSection"]) + .vc-reviewdb-view {
+ margin-top: 12px;
+}