Skip to content

Commit

Permalink
Make deletion page more responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
vvye committed Aug 13, 2018
1 parent a022af7 commit d44ccb2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions css/mobile.css
Expand Up @@ -146,4 +146,9 @@
margin-left: 0;
}

.delete-form .button {
width: 100%;
text-align: center;
}

}
2 changes: 1 addition & 1 deletion inc/templates/delete.php
Expand Up @@ -38,7 +38,7 @@
<div class="clearfix"></div>
</div>

<form action="<?= BASE_PATH ?>/?p=delete&message=<?= $message['id'] ?>" method="post">
<form class="delete-form" action="<?= BASE_PATH ?>/?p=delete&message=<?= $message['id'] ?>" method="post">
<input type="submit" class="button" name="submit" value="Delete" />
<input type="hidden" name="token" value="<?= $token ?>" />
<a class="primary button" href="<?= BASE_PATH ?>/?p=messages">Cancel</a>
Expand Down

0 comments on commit d44ccb2

Please sign in to comment.