Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Applications Frills #22

Draft
wants to merge 1 commit into
base: applications
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/components/button.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
font-size: 18px;
}


.label {
margin: 5px 80px;
position: relative;
Expand Down
4 changes: 4 additions & 0 deletions src/components/input.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ input:-webkit-autofill:focus
width: 100%;
}

.input:focus, .longInput:focus, .selectInput:focus {
outline: none;
}

.longInput {
resize: none;
vertical-align: bottom;
Expand Down
2 changes: 1 addition & 1 deletion src/components/password.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Password extends React.Component {
return (
<div className={styles.inputContainer}>
<div className={styles.passwordField}>
<input name={this.props.name} onChange={this.props.onChange} type={this.state.hidden? 'password' : 'text'} className={styles.input} label={this.props.label} placeholder={this.props.placeholder} required={true}/>
<input id={styles.passwordInput} name={this.props.name} onChange={this.props.onChange} type={this.state.hidden? 'password' : 'text'} className={styles.input} label={this.props.label} placeholder={this.props.placeholder} required={true}/>
<div className={styles.visibilityToggle} onClick={this.toggleVisibility}> {this.eyeIcon()} </div>
</div>
<p className={styles.label}>{this.props.label}</p>
Expand Down
3 changes: 3 additions & 0 deletions src/components/password.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ input:-webkit-autofill:focus
border-bottom: 1px solid var(--textColour);
}

#passwordInput:focus {
outline: none;
}
.visibilityToggle {
appearance: none;
-webkit-appearance: none;
Expand Down