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.

saved-snippet: Update CSS to set width of snippet title input.

Sahil Batraccfb720c819a
diff --git a/web/styles/compose.css b/web/styles/compose.css
index 2bdf6253e7e..dd8b1927541 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -1970,7 +1970,8 @@ textarea.new_message_textarea {
#add-new-saved-snippet-modal,
#edit-saved-snippet-modal {
& .saved-snippet-title {
- width: 97%;
+ /* subtract padding (6px each side) and border (1px each side) */
+ width: calc(100% - 14px);
margin-bottom: 20px;
}