Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

css: Restrict textarea resizing to vertical and set a minimum height.

Saubhagya Patel07e200f51a47
diff --git a/web/styles/modal.css b/web/styles/modal.css
index 90df9e9f4ff..cd29c6cd735 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -315,6 +315,7 @@
width: 97%;
resize: vertical;
margin-bottom: 10px;
+ min-height: 2em;
}
.border-top {
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index 42876b1e3c1..0d4b5c74f9c 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -923,6 +923,8 @@ ul.popover-group-menu-member-list {
#message-report-description {
width: 100%;
+ min-height: 2em;
+ resize: vertical;
box-sizing: border-box;
}
diff --git a/web/styles/scheduled_messages.css b/web/styles/scheduled_messages.css
index 6dd635ccdf1..22fdebfecb7 100644
--- a/web/styles/scheduled_messages.css
+++ b/web/styles/scheduled_messages.css
@@ -26,4 +26,5 @@
width: 100%;
min-width: 10em;
padding: 3px;
+ min-height: 2em;
}
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 742f2085840..5f7d10bd1f5 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1568,6 +1568,8 @@ label.preferences-radio-choice-label {
& textarea {
height: 80px;
+ min-height: 2em;
+ resize: vertical;
}
&:hover .remove_date {
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index 0a7d14e668c..612d63f6438 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -1373,6 +1373,8 @@ div.settings-radio-input-parent {
height: 80px;
margin-bottom: 4px;
box-sizing: border-box;
+ min-height: 2em;
+ resize: vertical;
}
.advanced-configurations-container