mattermost/mattermost

Padding on slash command menu items is too tight

开放

#24,042 创建于 2023年7月17日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (7,823 个派生)batch import
Help Wanted

仓库指标

星标
 (32,880 个星标)
PR 合并指标
 (平均合并 6天 5小时) (30 天内合并 318 个 PR)

描述

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

贡献者指南