Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Extract a common textarea style

Tianzhou Chencd569aeaa28d
diff --git a/frontend/src/assets/css/tailwind.css b/frontend/src/assets/css/tailwind.css
index d2df7cc310..313104d444 100644
--- a/frontend/src/assets/css/tailwind.css
+++ b/frontend/src/assets/css/tailwind.css
@@ -86,6 +86,10 @@
@apply text-main focus:ring-control focus:border-control sm:text-sm border-control-border rounded-md;
}
+.textarea {
+ @apply text-main focus:ring-control focus:border-control sm:text-sm border-control-border rounded-md shadow-sm;
+}
+
.link {
@apply text-main hover:underline focus:outline-none;
}
diff --git a/frontend/src/views/TaskActivityPanel.vue b/frontend/src/views/TaskActivityPanel.vue
index 2eba757ee8..bf9b0c9fcd 100644
--- a/frontend/src/views/TaskActivityPanel.vue
+++ b/frontend/src/views/TaskActivityPanel.vue
@@ -190,7 +190,7 @@
<textarea
ref="editCommentTextArea"
rows="3"
- class="resize-none shadow-sm block w-full focus:ring-gray-900 focus:border-gray-900 sm:text-sm border-gray-300 rounded-md"
+ class="textarea block w-full resize-none"
placeholder="Leave a comment..."
v-model="editComment"
@input="
@@ -251,7 +251,7 @@
<textarea
ref="newCommentTextArea"
rows="3"
- class="resize-none shadow-sm block w-full focus:ring-gray-900 focus:border-gray-900 sm:text-sm border-gray-300 rounded-md"
+ class="textarea block w-full resize-none"
placeholder="Leave a comment..."
v-model="newComment"
@input="