mirror of
https://github.com/zulip/zulip.git
synced 2025-10-22 20:42:14 +00:00
slack_import: Don't use a
tag for form submission.
This can mislead user into thinking this is a link they can open in a new tab, which we don't want to allow.
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
</form>
|
||||
<div class="bottom-text">
|
||||
{% trans %}
|
||||
Or <a href="#" id="cancel-slack-import">create organization</a> without importing data.
|
||||
Or <span id="cancel-slack-import" tabindex="0">create organization</span> without importing data.
|
||||
{% endtrans %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@@ -1556,3 +1556,15 @@ button#register_auth_button_gitlab {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#cancel-slack-import {
|
||||
color: hsl(200deg 100% 40%);
|
||||
text-decoration: none;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
cursor: pointer;
|
||||
color: hsl(200.16deg 100% 25.1%);
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user