Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subheading top property doesn't apply #2

Open
DamageESP opened this issue Apr 26, 2018 · 0 comments
Open

Subheading top property doesn't apply #2

DamageESP opened this issue Apr 26, 2018 · 0 comments

Comments

@DamageESP
Copy link

When I modify the subheading top property, it doesn't apply. Every other property has changed properly so far. I post my mocka-custom.scss file in case you need it.

$mocka: (
	prefix: 'mocka',
	container: (
    name: 'container',
    margin: 15px,
		width: 100%,
		height: 13rem,
		background: inherit,
    border-radius: 16px,
		border: 0
	),
	media: (
		name: 'media',
		top: 1.5rem,
		left: 2rem,
		width: 6rem,
		height: 6rem,
		border-radius: 50%
	),
	heading: (
		name: 'heading',
		top: 1.125rem,
		left: 10rem,
		width-base: 90%,
		width-offset: 5.5rem,
		height: 2rem,
		border-radius: 0
	),
	subheading: (
		top: 1.7rem,
		width: 85%,
		height: 0.875rem,
		border-radius: 0
	),
	text: (
		name: 'text',
		top: 7rem,
		left: 0.5rem,
		line1-width-base: 85%,
		line1-width-offset: 1rem,
		height: 1.2rem,
		line2-top: 2rem,
		line2-width-base: 120%,
		line2-width-offset: 1rem,
		line3-top: 4rem,
		line3-width-base: 90%,
		line3-width-offset: 0,
		border-radius: 15px
	),
	dots: (
		top: 3rem,
		height: 0.5rem,
		width: 0.5rem,
		space-around: 0.75rem,
		space-between: 0.5rem,
		border-radius: 1rem,
		background: rgba(0, 0, 0, .2)
	),
	animation: (
		name: 'dot',
		duration: 1.8s,
		timing-function: ease,
		iteration-count: infinite,
		dot1-y-offset: -0.3125rem,
		dot2-y-offset: -0.4375rem,
		dot3-y-offset: -0.3125rem
	),
	background: rgba(0, 0, 0, .06)
);
@import '../../node_modules/mocka-placeholder/src/mocka/mocka';
@include mocka($mocka);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant