mattermost/mattermost

Padding on slash command menu items is too tight

オープン

#24,042 opened on 2023/07/17

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (7,823 件のフォーク)batch import
Help Wanted

Repository metrics

Stars
 (32,880 個のスター)
PR merge metrics
 (平均マージ 6d 5h) (30d で 318 merged PRs)

説明

I’m not sure if/when this changed, but the vertical padding on slash command menu items seems too tight and there is not a clear vertical delineation between items because of it

Looks like the height is explicitly set to 4rem (which calculates to 40px). The height for slash command autocomplete items should be 4.8rem (48px) while other autocomplete items should stay as-is at 4rem (40px).


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.

New contributors please see our Developer's Guide.

JIRA: https://mattermost.atlassian.net/browse/MM-53600

コントリビューターガイド