As a memorandum for myself, I'll probably forget it.
By changing the padding of .css The size has been changed. Description when you want to fix it.
Even if you change the padding and border settings Setting method that the size of the element does not change with the size specified by width and height
app/assets/stylesheets/application.css
* {
box-sizing: border-box;
}
If you don't forget the above, it's okay.
Recommended Posts