mirror of https://gitlab.com/curben/blog
fix(css): override input padding in sanitize/forms
* conflict with padding-left of .searchBox
This commit is contained in:
parent
f39bab62de
commit
1b29dac14b
|
@ -226,7 +226,7 @@ h6 {
|
|||
|
||||
/*
|
||||
* Restrict sizing to the page width in all browsers (opinionated).
|
||||
* sanitize.css/page.css
|
||||
* sanitize/page
|
||||
*/
|
||||
iframe,
|
||||
img,
|
||||
|
@ -985,6 +985,15 @@ pre .keyword {
|
|||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/*
|
||||
* Override sanitize/forms
|
||||
* to prevent conflict with
|
||||
* .searchBox padding-left
|
||||
*/
|
||||
input {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* highlight the text box when focused */
|
||||
.searchBox:focus {
|
||||
border: 1px solid #1abc9c;
|
||||
|
|
Loading…
Reference in New Issue