mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
Fixes #30674. When having a bigger translation string, it was noticed that Add channel button had no horizontal padding. But this wasn't true for a shorter string. The button was using `min-width` as a proxy for padding. When the width of the button went beyond the minimum 100px, the padding disappeared. `.new-style` properties will apply here for the standard button styling, where the standard horizontal padding is important for the fix. But we can't use the vertical padding of that class since we want the button to align with the filter to the right of it which is smaller than a standard button, so we set the vertical padding to 0 and give the button a height of 30px. This height is used at multiple places to be the same as the search filter, e.g. roles dropdown in users tab. We've also changed the margin from 11px to 12px to be the same as the filter on the right. |
||
|---|---|---|
| .. | ||
| e2e-tests | ||
| generated | ||
| html | ||
| images | ||
| server | ||
| shared | ||
| src | ||
| styles | ||
| templates | ||
| tests | ||
| third | ||
| .browserslistrc | ||
| .gitignore | ||
| babel.config.js | ||
| debug-require-webpack-plugin.ts | ||
| debug-require.js | ||
| postcss.config.js | ||
| webpack.assets.json | ||
| webpack.config.ts | ||
| webpack.dev-assets.json | ||