Fix various CodeClimate warnings

This commit is contained in:
Claire
2021-03-06 13:12:35 +01:00
parent 454d036b74
commit 318efa49de
13 changed files with 43 additions and 41 deletions

View File

@ -44,7 +44,7 @@
display: block;
box-sizing: border-box;
margin: 0;
border: none;
border: 0;
border-radius: 4px;
padding: 10px;
width: 100%;
@ -81,7 +81,9 @@
&:active,
&:focus,
&:hover { text-decoration: none }
&:hover {
text-decoration: none;
}
}
}
@ -256,7 +258,7 @@
display: block;
box-sizing: border-box;
margin: 0;
border: none;
border: 0;
border-radius: 4px 4px 0 0;
padding: 10px 32px 0 10px;
width: 100%;
@ -277,9 +279,17 @@
all: unset;
}
&:disabled { background: $ui-secondary-color }
&:focus { outline: 0 }
@include single-column('screen and (max-width: 630px)') { font-size: 16px }
&:disabled {
background: $ui-secondary-color;
}
&:focus {
outline: 0;
}
@include single-column('screen and (max-width: 630px)') {
font-size: 16px;
}
@include limited-single-column('screen and (max-width: 600px)') {
height: 100px !important; // prevent auto-resize textarea