Skip to content

Commit 1dfa836

Browse files
author
Nostradamos
committed
1 parent 9e57c9d commit 1dfa836

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

‎src/components/structures/LoginBox.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ module.exports = React.createClass({
8484

8585
var self = this;
8686
return (
87-
<div className="mx_SearchBox">
87+
<div className="mx_SearchBox mx_LoginBox">
8888
{ loginButton }
8989
{ toggleCollapse }
9090
</div>

‎src/skins/vector/css/matrix-react-sdk/structures/_LoginBox.scss‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,27 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
.mx_LoginBox {
18+
min-height: 24px;
19+
height: unset !important;
20+
padding-top: 13px !important;
21+
padding-bottom: 14px !important;
22+
}
23+
1724
.mx_LoginBox_loginButton_wrapper {
1825
text-align: center;
1926
width: 100%;
2027
}
2128

2229
.mx_LoginBox_loginButton,
2330
.mx_LoginBox_registerButton {
24-
margin-top: -8px;
31+
margin-top: 3px;
2532
height: 40px;
2633
border: 0px;
2734
border-radius: 40px;
2835
margin-left: 4px;
2936
margin-right: 4px;
30-
width: 80px;
37+
min-width: 80px;
3138

3239
background-color: $accent-color;
3340
color: $primary-bg-color;

0 commit comments

Comments
 (0)