aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/instant/src/components/animations/slide_up_and_down_animation.tsx1
-rw-r--r--packages/instant/src/components/ui/text.tsx4
2 files changed, 4 insertions, 1 deletions
diff --git a/packages/instant/src/components/animations/slide_up_and_down_animation.tsx b/packages/instant/src/components/animations/slide_up_and_down_animation.tsx
index 9c18e0933..5fa0b0eda 100644
--- a/packages/instant/src/components/animations/slide_up_and_down_animation.tsx
+++ b/packages/instant/src/components/animations/slide_up_and_down_animation.tsx
@@ -19,7 +19,6 @@ export interface SlideAnimationProps {
animationType: string;
animationDirection?: string;
}
-
export const SlideAnimation =
styled.div <
SlideAnimationProps >
diff --git a/packages/instant/src/components/ui/text.tsx b/packages/instant/src/components/ui/text.tsx
index 9fb8ea26f..af8e4d933 100644
--- a/packages/instant/src/components/ui/text.tsx
+++ b/packages/instant/src/components/ui/text.tsx
@@ -21,6 +21,8 @@ export interface TextProps {
hoverColor?: string;
noWrap?: boolean;
display?: string;
+ marginRight?: string;
+ marginLeft?: string;
}
const PlainText: React.StatelessComponent<TextProps> = ({ children, className, onClick }) => (
@@ -47,6 +49,8 @@ export const Text = styled(PlainText)`
${props => (props.display ? `display: ${props.display}` : '')};
${props => (props.letterSpacing ? `letter-spacing: ${props.letterSpacing}` : '')};
${props => (props.textTransform ? `text-transform: ${props.textTransform}` : '')};
+ ${props => (props.marginRight ? `margin-right: ${props.marginRight}` : '')};
+ ${props => (props.marginLeft ? `margin-right: ${props.marginLeft}` : '')};
&:hover {
${props =>
props.onClick
hange default version of samba from 4.4 to 4.6antoine2017-12-231-1/+1 * Bump PORTREVISION for ports depending on the canonical version of GCCgerald2017-09-111-1/+1 * Bump PORTREVISIONs for ports depending on the canonical version of GCC andgerald2017-04-011-1/+1 * Switch default version of samba from 4.3 to 4.4antoine2017-03-261-1/+1 * - Add USES=samba to handle dependency on sambaantoine2017-03-221-2/+3 * Spell CHOSEN_COMPILER_TYPE correctlyantoine2016-11-131-1/+1 * - Pet portlintamdmi32016-08-171-9/+6 * Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.mat2016-04-011-3/+3 * - Drop 8.x-related conditions for my portsamdmi32015-08-031-4/+0 * - Add upstream patch which fixes crash on alt+tabamdmi32015-07-282-0/+49