[RUBY] Setting method that the size does not change even if CSS is changed

Setting method that the size does not change even if CSS is changed

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

Setting method that the size does not change even if CSS is changed
[Firebase] The problem that the currentUser of Firebase Auth does not become null even if the app is uninstalled.
A story that suffered from a space that does not disappear even if trimmed with Java The cause is BOM
The problem that the JDK set in JAVA_HOME does not appear even if java -version is performed at the command prompt
Even if I write the setting of STRICT_QUOTE_ESCAPING in CATALINA_OPTS in tomcat8.5, it is not reflected.
An active hash that can be treated as data even if it is not in the database
If the HTTP method is not specified, the browser side requests with GET
Continuation ・ Active hash that can be handled as data even if it is not in the database ~ Display
Upcast (Java) that can reduce the amount of change when the specification is changed
When using JPA (Hibernate), the Java application does not end even if it reaches the last line of the main method.
The l method that even first graders who are not learning English can write
Processing when an ID that does not exist in the database is entered in the URL
MockMVC returns 200 even if I make a request to a path that does not exist
What to do if the breakpoint is shaded and does not stop during debugging
After introducing Better_errors, the error screen does not change
Is there an instance even if the constructor fails?
[Java] Dealing with the situation where the program that writes to the Output Stream of Process does not end even if waitFor
PATH does not pass ... The cause is the character code
What to do if you installed Ruby with rbenv but the version does not change
Directory is not created even if directory task is described in Rakefile
[Rails] The problem that pry-byebug does not stop through breakpoints
[Rails] Solving the problem that session timeout does not work
[Java] com.sun.glass.WindowEvent is imported and the window does not close
[Rails] When the layout change of devise is not reflected
[Rails carrier wave] How to not transition to the error screen even if the image upload is not selected