Skip to content
Snippets Groups Projects
Commit 59abd4cf authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

Merge branch 'fix/issues-design' into 'dev'

Fix/issues design

See merge request web-et-numerique/llle_project/ecolyo!376
parents 509714e6 0fad85b0
Branches
Tags
1 merge request!376Fix/issues design
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
box-sizing: border-box; box-sizing: border-box;
margin: 8rem 1rem 0 1rem; margin: 7rem 1rem 0 1rem;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.55); box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.55);
border-radius: 4px; border-radius: 4px;
transition: all 300ms ease; transition: all 300ms ease;
......
...@@ -173,7 +173,7 @@ const ConnectionFormLogin: React.FC<ConnectionFormLoginProps> = ({ ...@@ -173,7 +173,7 @@ const ConnectionFormLogin: React.FC<ConnectionFormLoginProps> = ({
<div className="form-group"> <div className="form-group">
<input <input
id={'idFieldLogin' + fluidName} id={'idFieldLogin' + fluidName}
type="text" type="number"
className={ className={
error === '' error === ''
? 'form-control form-input' ? 'form-control form-input'
...@@ -186,6 +186,8 @@ const ConnectionFormLogin: React.FC<ConnectionFormLoginProps> = ({ ...@@ -186,6 +186,8 @@ const ConnectionFormLogin: React.FC<ConnectionFormLoginProps> = ({
changeLogin(e.target.value) changeLogin(e.target.value)
} }
value={login} value={login}
pattern="[0-9]*"
inputMode="numeric"
></input> ></input>
</div> </div>
<div className="form-group"> <div className="form-group">
......
@import '../../styles/base/color'; @import '../../styles/base/color';
@import '../../styles/base/breakpoint';
.duel-ongoing-container { .duel-ongoing-container {
display: flex; display: flex;
...@@ -18,6 +19,9 @@ ...@@ -18,6 +19,9 @@
.duel-consumption { .duel-consumption {
color: $grey-bright; color: $grey-bright;
margin: 1rem auto; margin: 1rem auto;
@media (max-width: $width-phone) {
margin: 0.5rem auto -0.5rem;
}
.consumption { .consumption {
color: $gold-light; color: $gold-light;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment