-
Notifications
You must be signed in to change notification settings - Fork 3
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
Button/hidden text #122
base: master
Are you sure you want to change the base?
Button/hidden text #122
Conversation
Haha, let's wait for Lemon's approval |
stressed out atm. also i have something to discuss in #52 |
Mind checking #126? Might be nice to have 'em for this feature. |
Heads up! Im having some difficulties in making the dots vertically centered because when i use 'vetical-align:middle', it doesnt behave the way i want. thus, i ended up using 'display:flex;' to make it vertically centered.
Just like in #hidden-text-button of primer.css, i add a variant '.-inline' to make it appear inline since it 'display:block' by default. i also add 'top:-3px' when appear inline to make it more ok to view. |
<section className="doc-bottom-space-large"> | ||
<h3 className="doc-heading">Hide text button</h3> | ||
<p>Using <code>.more-btn</code>, it will hide text with an indication of a toggle button appearance. add <code>.-inline</code> to make it inline.</p> | ||
<button className="more-btn"></button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self close? <button />
Thanks.
|
Resolves #52