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 declaration-block-no-redundant-longhand-properties.

Anders Kaseorg9b83dc1b79da
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css
index 6e2c38a90d6..ed33c01cb34 100644
--- a/web/styles/left_sidebar.css
+++ b/web/styles/left_sidebar.css
@@ -212,8 +212,7 @@ li.show-more-topics {
#left_sidebar_scroll_container {
outline: none;
- overflow-x: hidden;
- overflow-y: auto;
+ overflow: hidden auto;
position: relative;
z-index: 0;
width: 100%;
@@ -1058,8 +1057,7 @@ li.topic-list-item {
.conversation-partners-icon {
grid-area: starting-anchor-element;
- justify-self: center;
- align-self: center;
+ place-self: center;
}
.user_circle {
diff --git a/web/styles/portico/footer.css b/web/styles/portico/footer.css
index 7839242a3c4..85cbe61aaac 100644
--- a/web/styles/portico/footer.css
+++ b/web/styles/portico/footer.css
@@ -43,8 +43,7 @@
text-transform: uppercase;
border-bottom: 0;
margin-bottom: 0;
- margin-block-start: 0;
- margin-block-end: 0;
+ margin-block: 0;
}
.footer__section ul {
diff --git a/web/styles/portico/hello.css b/web/styles/portico/hello.css
index e4c2a2ddae2..a8bd7b60272 100644
--- a/web/styles/portico/hello.css
+++ b/web/styles/portico/hello.css
@@ -192,10 +192,8 @@ ul {
grid-template-columns: repeat(6, 200px);
grid-template-rows: 100px;
justify-content: center;
- align-items: center;
- justify-items: center;
- column-gap: 24px;
- row-gap: 0;
+ place-items: center;
+ gap: 24px 0;
}
.client-logos div {
diff --git a/web/styles/portico/landing_page.css b/web/styles/portico/landing_page.css
index 275522864f0..08eedec1cb0 100644
--- a/web/styles/portico/landing_page.css
+++ b/web/styles/portico/landing_page.css
@@ -2657,8 +2657,7 @@ button {
grid-column-gap: 5%;
grid-template-columns: 43% auto;
max-width: 1300px;
- align-items: center;
- justify-items: center;
+ place-items: center;
margin: auto;
.alternate-grid& {
diff --git a/web/styles/reactions.css b/web/styles/reactions.css
index 97cdc395cc7..d3d10c69858 100644
--- a/web/styles/reactions.css
+++ b/web/styles/reactions.css
@@ -217,8 +217,7 @@
.emoji-search-results-container {
padding: 0;
position: relative;
- overflow-x: hidden;
- overflow-y: auto;
+ overflow: hidden auto;
display: block;
width: 247px;
padding-left: 3px;
diff --git a/web/styles/settings.css b/web/styles/settings.css
index a6b3e1b2347..241a5904c61 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1177,8 +1177,7 @@ $option_title_width: 180px;
text-align: left;
white-space: nowrap;
text-overflow: ellipsis;
- overflow-x: hidden;
- overflow-y: visible;
+ overflow: hidden visible;
position: relative;
.user-name-and-status-text {
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 57055ef2bc5..a0dd0ef9ed9 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1,6 +1,5 @@
html {
- overflow-y: scroll;
- overflow-x: hidden;
+ overflow: hidden scroll;
overscroll-behavior-y: none;
width: calc(100% - var(--disabled-scrollbar-width));
}