Open platform to collect and prioritize feedback
use small social icons (#114)
Guilherme Oenning501c7140ddd2
diff --git a/public/components/CommentInput.tsx b/public/components/CommentInput.tsxindex 70e80d7b1..3418ea828 100644--- a/public/components/CommentInput.tsx+++ b/public/components/CommentInput.tsx@@ -61,7 +61,7 @@ export class CommentInput extends React.Component<CommentInputProps, CommentInpuLog in to raise your voice.</div><p className="info">We'll never post to any of your accounts.</p>- <SocialSignInList orientation="horizontal" size="normal" />+ <SocialSignInList orientation="horizontal" size="small" /></div>;return <div className="comment-input">diff --git a/public/components/IdeaInput.tsx b/public/components/IdeaInput.tsxindex 45ffec80f..3708619ba 100644--- a/public/components/IdeaInput.tsx+++ b/public/components/IdeaInput.tsx@@ -80,7 +80,7 @@ export class IdeaInput extends React.Component<IdeaInputProps, IdeaInputState> {Log in to raise your voice.</div><p className="info">We'll never post to any of your accounts.</p>- <SocialSignInList orientation="horizontal" size="normal" />+ <SocialSignInList orientation="horizontal" size="small" /></div></div>;diff --git a/public/components/SupportCounter.tsx b/public/components/SupportCounter.tsxindex 73d50fd0e..399b7fa5e 100644--- a/public/components/SupportCounter.tsx+++ b/public/components/SupportCounter.tsx@@ -92,7 +92,7 @@ export class SupportCounter extends React.Component<SupportCounterProps, SupportLog in to raise your voice.</div><p className="info">We'll never post to any of your accounts.</p>- <SocialSignInList orientation="horizontal" size="normal" />+ <SocialSignInList orientation="horizontal" size="small" /></div></div>;}diff --git a/public/components/common/SocialSignInButton.tsx b/public/components/common/SocialSignInButton.tsxindex f43e3c20d..907415aff 100644--- a/public/components/common/SocialSignInButton.tsx+++ b/public/components/common/SocialSignInButton.tsx@@ -37,10 +37,11 @@ export class SocialSignInButton extends React.Component<SocialSignInButtonProps,const auth = this.session.get<AuthSettings>('auth');const href = `${auth.endpoint}/oauth/${this.props.provider}?redirect=${location.href}`;- const classes = `${providers[this.props.provider].class} ${this.props.size === 'small' ? 'circular icon' : 'fluid'}`;+ const btnClasses = `${providers[this.props.provider].class} ${this.props.size === 'small' ? 'icon' : 'fluid'}`;+ const iconClasses = `icon ${providers[this.props.provider].icon} ${this.props.size === 'small' ? 'large' : ''}`;- return <Button href={href} className={classes}>- <i className={'icon ' + providers[this.props.provider].icon}></i>+ return <Button href={href} className={btnClasses}>+ <i className={iconClasses}></i>{ this.props.size === 'normal' && `${providers[this.props.provider].name}` }</Button>;}