Changed everything to be box-sizing: border-box;

This commit is contained in:
the-djmaze 2022-11-21 11:00:39 +01:00
parent 2d832ff5ea
commit cb167da854
25 changed files with 37 additions and 109 deletions

View file

@ -11,8 +11,8 @@
border-radius: 3px;
display: inline-block;
padding: 4px 12px;
line-height: 1.43em;
padding: 0 12px;
line-height: 2em;
text-align: center;
vertical-align: middle;
cursor: pointer;
@ -74,10 +74,8 @@
// Block button
.btn-block {
display: block;
width: 100%;
padding-left: 0;
padding-right: 0;
box-sizing: border-box;
}

View file

@ -41,7 +41,6 @@ select,
.select,
textarea,
input {
box-sizing: border-box;
display: inline-block;
padding: 4px 6px;
color: var(--input-clr, #555);

View file

@ -24,7 +24,6 @@
display: block;
width: 100%;
min-height: 30px; // Make inputs at least the height of their button counterpart
box-sizing: border-box; // Makes inputs behave like true block-level elements
}

View file

@ -71,7 +71,6 @@ hr {
margin: 1.43em 0;
border: 0;
border-bottom: 1px solid var(--hr-color, #eee);
box-sizing: content-box;
height: 0;
}