FossilRepo
Add input padding for text not hitting border
Commit
b3f42783ee51faa089cd2e58616f47cb5dd3946d3867c23d0cefd288ef4e5a2f
Parent
2f13242692d36cf…
1 file changed
+1
+1
| --- templates/base.html | ||
| +++ templates/base.html | ||
| @@ -40,10 +40,11 @@ | ||
| 40 | 40 | input[type="text"], input[type="number"], input[type="email"], |
| 41 | 41 | input[type="password"], input[type="search"], input[type="url"], |
| 42 | 42 | textarea, select { |
| 43 | 43 | @apply bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 |
| 44 | 44 | text-gray-900 dark:text-gray-100 rounded-md |
| 45 | + px-3 py-2 | |
| 45 | 46 | shadow-sm dark:shadow-inner |
| 46 | 47 | focus:border-brand focus:ring-1 focus:ring-brand |
| 47 | 48 | placeholder-gray-500 dark:placeholder-gray-500 |
| 48 | 49 | transition-colors duration-150 |
| 49 | 50 | sm:text-sm; |
| 50 | 51 |
| --- templates/base.html | |
| +++ templates/base.html | |
| @@ -40,10 +40,11 @@ | |
| 40 | input[type="text"], input[type="number"], input[type="email"], |
| 41 | input[type="password"], input[type="search"], input[type="url"], |
| 42 | textarea, select { |
| 43 | @apply bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 |
| 44 | text-gray-900 dark:text-gray-100 rounded-md |
| 45 | shadow-sm dark:shadow-inner |
| 46 | focus:border-brand focus:ring-1 focus:ring-brand |
| 47 | placeholder-gray-500 dark:placeholder-gray-500 |
| 48 | transition-colors duration-150 |
| 49 | sm:text-sm; |
| 50 |
| --- templates/base.html | |
| +++ templates/base.html | |
| @@ -40,10 +40,11 @@ | |
| 40 | input[type="text"], input[type="number"], input[type="email"], |
| 41 | input[type="password"], input[type="search"], input[type="url"], |
| 42 | textarea, select { |
| 43 | @apply bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 |
| 44 | text-gray-900 dark:text-gray-100 rounded-md |
| 45 | px-3 py-2 |
| 46 | shadow-sm dark:shadow-inner |
| 47 | focus:border-brand focus:ring-1 focus:ring-brand |
| 48 | placeholder-gray-500 dark:placeholder-gray-500 |
| 49 | transition-colors duration-150 |
| 50 | sm:text-sm; |
| 51 |