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.

stylelint: Fix property-no-deprecated.

Anders Kaseorg72e762f0759d
diff --git a/web/styles/app_components.css b/web/styles/app_components.css
index 68181af7d93..92cac63d605 100644
--- a/web/styles/app_components.css
+++ b/web/styles/app_components.css
@@ -1073,7 +1073,7 @@ input.settings_text_input {
[data-tippy-root] {
width: max-content;
- word-wrap: unset;
+ overflow-wrap: unset;
}
.copy-overlay-message {
diff --git a/web/styles/components.css b/web/styles/components.css
index 2b47356ac20..7fba1a3fbce 100644
--- a/web/styles/components.css
+++ b/web/styles/components.css
@@ -10,7 +10,7 @@ label.checkbox {
& input[type="checkbox"] {
position: absolute;
- clip: rect(0, 0, 0, 0);
+ clip-path: rect(0 0 0 0);
~ .rendered-checkbox {
display: inline-block;
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index 3310e8c8554..66273f4661f 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -71,7 +71,7 @@
.messagebox {
grid-area: messagebox;
- word-wrap: break-word;
+ overflow-wrap: break-word;
border: none;
/* The left padding value accounts for a 2px
unread marker, ensuring a uniform 5px of
@@ -588,7 +588,7 @@
/* Tooltips should not follow the width restrictions of their parent element. */
[data-tippy-root] {
width: max-content;
- word-wrap: unset;
+ overflow-wrap: unset;
}
.edit_content {
diff --git a/web/styles/modal.css b/web/styles/modal.css
index f16e26c8ba4..35984e65c2f 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -40,7 +40,7 @@
grid-template:
"heading close-button" 1.8em "heading ." auto / minmax(0, 1fr)
1.8125em;
- grid-column-gap: 4px;
+ column-gap: 4px;
}
.modal__footer {
@@ -59,7 +59,7 @@
font-weight: 600;
line-height: 1.25;
overflow: hidden;
- word-wrap: break-word;
+ overflow-wrap: break-word;
.channel-privacy-type-icon {
/* This pushes back on suspect styles
diff --git a/web/styles/portico/email_log.css b/web/styles/portico/email_log.css
index a0c8bb0b9e5..90380545be0 100644
--- a/web/styles/portico/email_log.css
+++ b/web/styles/portico/email_log.css
@@ -60,7 +60,7 @@
font-size: 13px;
line-height: 20px;
word-break: break-all;
- word-wrap: break-word;
+ overflow-wrap: break-word;
white-space: pre-wrap;
background-color: hsl(0deg 0% 96%);
border: 1px solid hsl(0deg 0% 75%);
diff --git a/web/styles/portico/landing_page.css b/web/styles/portico/landing_page.css
index 5661c933174..ef6e6a500d4 100644
--- a/web/styles/portico/landing_page.css
+++ b/web/styles/portico/landing_page.css
@@ -2164,7 +2164,7 @@ button {
@media (width >= 768px) {
display: grid;
- grid-column-gap: 5%;
+ column-gap: 5%;
grid-template-columns: 43% auto;
max-width: 1300px;
place-items: center;
diff --git a/web/styles/portico/markdown.css b/web/styles/portico/markdown.css
index 6b05ab518f2..e07d71ebfe8 100644
--- a/web/styles/portico/markdown.css
+++ b/web/styles/portico/markdown.css
@@ -402,7 +402,7 @@
white-space: initial;
padding: 0 4px;
background-color: hsl(0deg 0% 93%);
- word-wrap: break-word;
+ overflow-wrap: break-word;
}
.codehilite {
diff --git a/web/styles/portico/portico.css b/web/styles/portico/portico.css
index 2d112c8979f..5429335f089 100644
--- a/web/styles/portico/portico.css
+++ b/web/styles/portico/portico.css
@@ -718,7 +718,7 @@ input#terminal:checked ~ #tab-terminal {
.contributors-grid {
padding-top: 5px;
display: grid;
- grid-gap: 5px;
+ gap: 5px;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
}
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.css
index 821960087b3..f8ebcb292b4 100644
--- a/web/styles/rendered_markdown.css
+++ b/web/styles/rendered_markdown.css
@@ -778,7 +778,7 @@
white-space: pre;
overflow-x: auto;
word-break: break-all;
- word-wrap: normal;
+ overflow-wrap: normal;
margin: 0 0 var(--markdown-interelement-space-px);
padding: 5px 7px 3px;
display: block;
diff --git a/web/styles/settings.css b/web/styles/settings.css
index f0a9472ceba..da233b33310 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -174,7 +174,7 @@ h3,
.wrapped-table {
overflow-wrap: anywhere;
- word-wrap: break-word;
+ overflow-wrap: break-word;
white-space: pre-wrap;
white-space: normal;
}
@@ -1095,7 +1095,7 @@ input[type="checkbox"] {
.bot-card-api-key .bot-card-api-key-value-and-button {
display: block;
margin-left: 0;
- word-wrap: break-word;
+ overflow-wrap: break-word;
word-break: break-all;
white-space: normal;
}
@@ -1189,7 +1189,7 @@ input[type="checkbox"] {
}
.alert_word_listing .value {
- word-wrap: break-word;
+ overflow-wrap: break-word;
word-break: break-all;
white-space: normal;
}
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index 7b41c485fbe..7b89bf75725 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -35,7 +35,7 @@
.stream-email .email-address {
display: block;
flex: 0 0 90%;
- word-wrap: break-word;
+ overflow-wrap: break-word;
word-break: break-all;
white-space: normal;
}
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index c9d07243177..58586713b6b 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -811,7 +811,7 @@ strong {
.buddy_list_tooltip_content {
text-align: left;
- word-wrap: break-word;
+ overflow-wrap: break-word;
/* 280px at 14px/1em */
max-width: 20em;
}
@@ -1399,14 +1399,14 @@ div.topic_edit_spinner .loading_indicator_spinner {
font-size: 1.5em;
font-weight: 400;
line-height: inherit;
- word-wrap: break-word;
+ overflow-wrap: break-word;
}
.empty-feed-notice-description {
font-size: 1.1em;
.search-query-word {
- word-wrap: break-word;
+ overflow-wrap: break-word;
}
}