diff --git a/package.json b/package.json index 6784f3003..5932f48d7 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "@babel/register": "^7.0.0", "@hot-loader/react-dom": "16.8", "@lbry/color": "^1.0.2", - "@lbry/components": "^2.3.3", + "@lbry/components": "^2.7.0", "@types/three": "^0.93.1", "async-exit-hook": "^2.0.1", "babel-eslint": "^10.0.1", diff --git a/src/ui/component/button/view.jsx b/src/ui/component/button/view.jsx index 2005bc78d..75613c776 100644 --- a/src/ui/component/button/view.jsx +++ b/src/ui/component/button/view.jsx @@ -20,7 +20,6 @@ type Props = { description: ?string, type: string, button: ?string, // primary, secondary, alt, link - noPadding: ?boolean, // to remove padding and allow circular buttons iconColor?: string, iconSize?: number, constrict: ?boolean, // to shorten the button and ellipsis, only use for links @@ -39,6 +38,8 @@ class Button extends React.PureComponent { title, label, icon, + // This should rarely be used. Regular buttons should just use `icon` + // `iconRight` is used for the header (home) button with the LBRY icon and external links that are displayed inline iconRight, disabled, children, @@ -47,7 +48,6 @@ class Button extends React.PureComponent { description, button, type, - noPadding, iconColor, iconSize, constrict, @@ -57,9 +57,6 @@ class Button extends React.PureComponent { const combinedClassName = classnames( 'button', - { - 'button--no-padding': noPadding, - }, button ? { 'button--primary': button === 'primary', diff --git a/src/ui/component/categoryList/view.jsx b/src/ui/component/categoryList/view.jsx index 7a9011a4b..f3fd64f9b 100644 --- a/src/ui/component/categoryList/view.jsx +++ b/src/ui/component/categoryList/view.jsx @@ -272,20 +272,18 @@ class CategoryList extends PureComponent { return (
-
+

{categoryLink ? ( -
-
-
-
+ +

+ {showScrollButtons && (
diff --git a/src/ui/page/subscriptions/internal/user-subscriptions.jsx b/src/ui/page/subscriptions/internal/user-subscriptions.jsx index 1d86789d1..d96cda951 100644 --- a/src/ui/page/subscriptions/internal/user-subscriptions.jsx +++ b/src/ui/page/subscriptions/internal/user-subscriptions.jsx @@ -41,7 +41,7 @@ export default (props: Props) => {