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

fontawsome icons don't show underlines to indicate modal/tooltip #995

Closed
damithc opened this issue Jan 25, 2020 · 15 comments · Fixed by MarkBind/vue-strap#127 or #1133
Closed

fontawsome icons don't show underlines to indicate modal/tooltip #995

damithc opened this issue Jan 25, 2020 · 15 comments · Fixed by MarkBind/vue-strap#127 or #1133

Comments

@damithc
Copy link
Contributor

damithc commented Jan 25, 2020

v2.9.1

code:

<trigger trigger="click" for="modal:context-target">:fas-info:</trigger> 
<trigger trigger="click" for="modal:context-target">no icon</trigger> 

output:
image

problem: note how the underline is missing from the first trigger

@hcwong
Copy link
Contributor

hcwong commented Feb 1, 2020

Hello Markbind peeps, can I take this?

@ang-zeyu
Copy link
Contributor

ang-zeyu commented Feb 1, 2020

Hello Markbind peeps, can I take this?

👍 Don't think anyone's working on this

@ang-zeyu
Copy link
Contributor

ang-zeyu commented Feb 1, 2020

Ignore the extra stuff earlier, could just do this with css.

Might check if it works for octicons though

@hcwong
Copy link
Contributor

hcwong commented Feb 2, 2020

Hmmm I've changed Tooltip and trigger components: changing the underline style from text-decoration: underline dashed to border bottom: 1px dashed black (for standardization). Is this okay?

@ang-zeyu
Copy link
Contributor

ang-zeyu commented Feb 3, 2020

Sounds good; Might wanna try currentColor instead of black to keep the same underline color though

@damithc
Copy link
Contributor Author

damithc commented Mar 12, 2020

This feature seems to be broken again. See https://nus-cs2113-ay1920s2.github.io/website/admin/participation-dashboard.html

@damithc damithc reopened this Mar 12, 2020
@hcwong
Copy link
Contributor

hcwong commented Mar 12, 2020

@damithc is it the A0xxxxx values in the table?

@damithc
Copy link
Contributor Author

damithc commented Mar 12, 2020

@damithc is it the A0xxxxx values in the table?

Close. It's the ℹ️ icon that comes after the partial matric number. Clicking on it opens a modal, which means there should be a dotted line under it.

@hcwong
Copy link
Contributor

hcwong commented Mar 12, 2020

I see, I tried finding the page on https://github.com/nus-cs2113-AY1920S2/website, but cant seem to find it. Is there anywhere I can find it to help debug (cos only the icon seems to be part of trigger, oddly)?

@damithc
Copy link
Contributor Author

damithc commented Mar 12, 2020

It's in the cs2113 branch. https://github.com/nus-cs2113-AY1920S2/website/blob/cs2113/admin/tp-progress-dashboard-table.mbdf

@hcwong
Copy link
Contributor

hcwong commented Mar 12, 2020

Thanks will debug and get back to you on this

@hcwong
Copy link
Contributor

hcwong commented Mar 16, 2020

Hey @damithc, just an update from me, this is a regression bug caused by this commit: f215eee.

Also, not sure, but for the 2113 website, I think the student number A018XXXX should be within the <trigger> blocks if its meant to be underlined, unless thats the intended behaviour.

@damithc
Copy link
Contributor Author

damithc commented Mar 16, 2020

Hey @damithc, just an update from me, this is a regression bug caused by this commit: f215eee.

I see. How to fix?

Also, not sure, but for the 2113 website, I think the student number A018XXXX should be within the <trigger> blocks if its meant to be underlined, unless thats the intended behaviour.

Thanks for the heads up. Only the icon is supposed act as the trigger, so it's all good.

@hcwong
Copy link
Contributor

hcwong commented Mar 16, 2020

@openorclose, don't have much context on the commit, but seems like changing the .trigger class in markind's asset/css back to border-bottom: 1px dashed currentColor restores the intended behavior. If this is fine by you, I'll submit the fix.

Also, it seems like the mounted() code in trigger is made redundant by the commit. Should i remove it as well?

@openorclose
Copy link
Contributor

@openorclose, don't have much context on the commit, but seems like changing the .trigger class in markind's asset/css back to border-bottom: 1px dashed currentColor restores the intended behavior. If this is fine by you, I'll submit the fix.

Sure, thanks!

Also, it seems like the mounted() code in trigger is made redundant by the commit. Should i remove it as well?

MarkBind/vue-strap#135 nah there's already a pr to delete triggers and the other unneeded components

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants