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

CSS in the Complete Example REPL #5

Open
rdela opened this issue Nov 15, 2019 · 0 comments
Open

CSS in the Complete Example REPL #5

rdela opened this issue Nov 15, 2019 · 0 comments

Comments

@rdela
Copy link

rdela commented Nov 15, 2019

Hi, nice component. I adjusted the CSS in a fork of the example demo linked in the readme.

Here is the diff in case you want to update your version

--- a/Component.svelte
+++ b/Component.svelte
@@ -9,3 +9,9 @@
 		border-radius: 4px;
-		padding: 0 1em;
+		padding: .375em 1em;
 		font-size: .5em;
+ 		vertical-align: middle;
+ 		margin-bottom: .25em;
+ 		display: inline-block;
+ 	}
+ 	h1 {
+ 		margin: .5em 0;
 	}
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