0

Button shows up looking squashed when testing responsiveness in chrome (ipad pro mode). All the rest on the tablets and mobiles views the button shows correctly. I tried putting a min-width on the button but this doesn't help as the button looks to big for the page. Is there any way I can move the button more to the left or set it in the middle.

button id="updatePasswordButton" class="btn btn-block btn-success" data-bind="enable: canUpdatePassword, click: resetPassword">



.btn-success {
    min-width: 140px;
}
Kash
  • 21
  • 4

1 Answers1

0

I believe you forgot to write something between button tag or closing it. Try this:

.btn-success {
  min-width: 140px;
}
<button id="updatePasswordButton" class="btn btn-block btn-success" data-bind="enable: canUpdatePassword, click: resetPassword">Update</button>
Dash
  • 35
  • 9
  • and when you want to put some code or script in question, press "CTRL + M",then you brackets won't vanish. Even right now, edit the code, then press the above buttons and put the script in that – Dash Jul 25 '18 at 08:41