Skip to content

Commit

Permalink
feat(textarea): adjust padding and apply consistent styling
Browse files Browse the repository at this point in the history
  • Loading branch information
hamo225 authored and andreasphil committed Sep 30, 2024
1 parent 28e1547 commit aa0eaa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primevue/textarea/textarea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import "./textarea.css";
const textarea: TextareaPassThroughOptions = {
root: ({ props }) => {
// Base
const base = tw`ris-body2-regular h-48 border-2 border-blue-800 bg-white px-16 py-10 outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none`;
const base = tw`ris-body1-regular min-h-56 border-2 border-blue-800 bg-white px-14 pb-12 pt-8 outline-4 -outline-offset-4 outline-blue-800 placeholder:text-gray-900 read-only:cursor-not-allowed read-only:border-blue-300 read-only:bg-blue-300 hover:outline focus:outline disabled:border-blue-500 disabled:bg-white disabled:text-blue-500 disabled:outline-none aria-[invalid]:border-red-800 aria-[invalid]:bg-red-200 aria-[invalid]:outline-red-800 aria-[invalid]:disabled:outline-none`;

// Integration for primevue/fluid
const fluid = tw`w-full`;
Expand Down

0 comments on commit aa0eaa6

Please sign in to comment.