actualbudget/actual

[Tech Enhancement] Implement standard sizes on `Button` component

Open

#3,770 opened on 2024年11月3日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)JavaScript (7,129 stars) (603 forks)batch import
help wanteduser interface

説明

Verified issue does not already exist?

  • I have searched and found no existing issue
  • I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file)

What happened?

Currently, there is no standard button sizes across the app. This enhancement is to extend the Button2 component to have a size prop which accepts some standard size values:

  • small
  • medium
  • large
  • extra-large

These standard sizes should vary between screen sizes e.g. different set of width and height for desktop, tablet, mobile

This change should help make all the buttons more uniform in sizes throughout the app

Where are you hosting Actual?

None

What browsers are you seeing the problem on?

No response

Operating System

None

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