-
Notifications
You must be signed in to change notification settings - Fork 27
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
improve User Guide icon #7998
improve User Guide icon #7998
Conversation
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.
I agree this should be a link. I'd rather keep the semantically correct HTML, but if that isn't possible I'll accept it. Take a look at the ilios-link-button
mixin though, it may help.
I'll take another crack at this to keep the semantic |
Changed back from |
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.
Excellent. Looks great to me.
please if we are able: align center vertically, rather than align-bottom viz the other icons; add 2px padding on right, since when vertical scroll appears, it overlays the right edge of the icon. otherwise, all A-OK |
@saschaben Thanks for the feedback. Will hammer it out some more soon. |
6cfeeb1
to
120847c
Compare
@saschaben Made some adjustments. Let me know if this works better! |
…ed from other icons
120847c
to
42cbd5d
Compare
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.
Excellent
Fixes ilios/ilios#5609
My attempt to address all the issues:
To do this, I had to go from using an
<a>
(which I chose since the icon takes you somewhere instead of just doing something) to using a<button>
(which all the other elements use, giving it a lot of the same existing CSS properties) and adding a component class to model the "click this to open a new window/tab" action