match single Subscribe button with dropdown width

This commit is contained in:
Collin M. Barrett 2019-08-06 13:40:05 -05:00
parent 256c822ebc
commit ea666720e5
2 changed files with 5 additions and 1 deletions

View file

@ -3,3 +3,7 @@
.ant-dropdown-menu-submenu-title > a {
color: #fff;
}
.ant-btn.single {
width: 106.81px;
}

View file

@ -18,7 +18,7 @@ export const SubscribeButton = (props: Props): JSX.Element | null =>
? <SubscribeButtonDropdown {...props} />
: props.viewUrl
? <div>
<Button size="small" {...buildButtonProps(props.name, props.viewUrl)}>Subscribe</Button>
<Button className={"single"} size="small" {...buildButtonProps(props.name, props.viewUrl)}>Subscribe</Button>
</div>
: null;