The cancel link (button) on forms has an odd style once clicked
Bug #1883031 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Evonne Cheung | ||
20.04 |
Fix Released
|
Medium
|
Unassigned | ||
20.10 |
Fix Released
|
Medium
|
Evonne Cheung |
Bug Description
I noticed this issue on adding a Plan form when I clicked (and held the click) on the 'cancel' button.
In 19.10 it used to give a grey background but now it gives a dark green background
It only appears for a split second but I'm not sure if it needs to appear at all or if the style needs fixing
Changed in mahara: | |
status: | New → In Progress |
milestone: | none → 20.10.0 |
importance: | Undecided → Medium |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
milestone: | 20.10.0 → none |
To post a comment you must log in.
The split second is caused by the fact that it has the class btn-primary in it when it shouldn't. There is already an override to make background transparent, hence it's only there for a split second. Ideally this class should be removed from code, I had a look at the lib.php but realised that the btn-primary gets applied on both Save Plan and Cancel, can it just appear on Save Plan?