Skip to content

Commit

Permalink
fix mobile device support
Browse files Browse the repository at this point in the history
  • Loading branch information
schorschii committed Apr 17, 2023
1 parent ef4a6c3 commit 47c35d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions css/switchconfig.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.form-row {
form:not(#frmLogin) .form-row {
margin-bottom: 10px;
}
.multirow {
Expand Down Expand Up @@ -222,12 +222,14 @@ img[src='img/disabled.svg'] {
#logo {
width: 100%;
height: 50px;
background-size: auto 50px;
background-position: center;
background-repeat: no-repeat;
}
#container,
#splash {
box-sizing: border-box;
width: 100%;
max-width: 100%;
}
#container {
margin-top: 70px;
Expand All @@ -245,7 +247,7 @@ img[src='img/disabled.svg'] {
float: none;
}
.tipicon {
top: 10px;
right: 70px;
top: 8px !important;
right: 75px !important;
}
}
2 changes: 1 addition & 1 deletion login.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function beginFadeOutAnimation() {
<div class='infobox <?php echo $infoClass; ?>'><?php echo $info; ?></div>
<?php } ?>

<form method='POST' action='login.php' name='loginform' onsubmit='beginFadeOutAnimation();'>
<form method='POST' action='login.php' name='loginform' id='frmLogin' onsubmit='beginFadeOutAnimation();'>
<div class='form-row'>
<input type='text' id='username' name='username' placeholder='<?php translate("Username"); ?>' />
<img src='webdesign-template/img/person.svg'>
Expand Down

0 comments on commit 47c35d4

Please sign in to comment.