aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-04-16 23:09:11 -0300
committerGitHub <noreply@github.com>2023-04-17 02:09:11 +0000
commit43d7ca4c30a527f750e67e938212326b307b48d9 (patch)
tree56fa503fb2bb48ba2de420fd80e178a20127da68 /src/plugins
parent5305447f442b57443c4616ccd8d530c2c5e539b4 (diff)
downloadVencord-43d7ca4c30a527f750e67e938212326b307b48d9.tar.gz
Vencord-43d7ca4c30a527f750e67e938212326b307b48d9.tar.bz2
Vencord-43d7ca4c30a527f750e67e938212326b307b48d9.zip
Make chat bar buttons have a consistent size (#927)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/invisibleChat/index.tsx2
-rw-r--r--src/plugins/sendTimestamps/styles.css2
-rw-r--r--src/plugins/silentMessageToggle.tsx2
-rw-r--r--src/plugins/silentTyping.tsx2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/invisibleChat/index.tsx b/src/plugins/invisibleChat/index.tsx
index 97542e7..0501a18 100644
--- a/src/plugins/invisibleChat/index.tsx
+++ b/src/plugins/invisibleChat/index.tsx
@@ -85,7 +85,7 @@ function ChatBarIcon() {
onMouseLeave={onMouseLeave}
innerClassName={ButtonWrapperClasses.button}
onClick={() => buildEncModal()}
- style={{ marginRight: "2px" }}
+ style={{ padding: "0 4px" }}
>
<div className={ButtonWrapperClasses.buttonWrapper}>
<svg
diff --git a/src/plugins/sendTimestamps/styles.css b/src/plugins/sendTimestamps/styles.css
index 780af97..8b7288b 100644
--- a/src/plugins/sendTimestamps/styles.css
+++ b/src/plugins/sendTimestamps/styles.css
@@ -43,7 +43,7 @@
}
.vc-st-button {
- margin-right: 4px;
+ padding: 0 8px;
}
.vc-st-button svg {
diff --git a/src/plugins/silentMessageToggle.tsx b/src/plugins/silentMessageToggle.tsx
index 9e808e9..df52f41 100644
--- a/src/plugins/silentMessageToggle.tsx
+++ b/src/plugins/silentMessageToggle.tsx
@@ -53,7 +53,7 @@ function SilentMessageToggle(chatBoxProps: {
size=""
look={ButtonLooks.BLANK}
innerClassName={ButtonWrapperClasses.button}
- style={{ margin: "0px 8px" }}
+ style={{ padding: "0 8px" }}
>
<div className={ButtonWrapperClasses.buttonWrapper}>
<svg
diff --git a/src/plugins/silentTyping.tsx b/src/plugins/silentTyping.tsx
index ffde543..28b651d 100644
--- a/src/plugins/silentTyping.tsx
+++ b/src/plugins/silentTyping.tsx
@@ -57,7 +57,7 @@ function SilentTypingToggle(chatBoxProps: {
size=""
look={ButtonLooks.BLANK}
innerClassName={ButtonWrapperClasses.button}
- style={{ margin: "0 8px 0" }}
+ style={{ padding: "0 8px" }}
>
<div className={ButtonWrapperClasses.buttonWrapper}>
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">