Skip to content

Commit 15f955c

Browse files
committed
add css from compound-web Action
1 parent 275ede6 commit 15f955c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

templates/components/password_field.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
{% import "components/field.html" as field %}
33

44
{% macro password_field(input_attributes, input_autocomplete="password", class="") %}
5-
<div class="password-field-container">
6-
<input {{ input_attributes }} class="cpd-text-control" type="password" autocomplete="{{input_autocomplete}}" required />
5+
<!-- use @vector-im/compound-web/src/components/Form/Controls/Action/Action.module.css -->
6+
<div class="password-field-container container">
7+
<input {{ input_attributes }} class="cpd-text-control control" type="password" autocomplete="{{input_autocomplete}}" required />
78
<button type="button" class="action" onclick="togglePasswordVisibility(this)">
89
{{ icon.visibility_off() }}
910
</button>

0 commit comments

Comments
 (0)