mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-08-20 16:30:26 +00:00
[ci skip] UX Guide: Button placement in groups
This commit is contained in:
@ -96,6 +96,20 @@ Since secondary buttons only have a border on their resting state, their hover a
|
||||
| Background: `$color-light` <br> Border: `$border-color-light` |  |  |  |
|
||||
| Background: `$color-normal` <br> Border: `$border-color-normal` |  |  |  |
|
||||
|
||||
### Placement
|
||||
|
||||
When there are a group of buttons in a dialog or a form, we need to be consistent with the placement.
|
||||
|
||||
#### Dismissive actions on the left
|
||||
The dismissive action returns the user to the previous state.
|
||||
|
||||
> Example: Cancel
|
||||
|
||||
#### Affirmative actions on the right
|
||||
Affirmative actions continue to progress towards the user goal that triggered the dialog or form.
|
||||
|
||||
> Example: Submit, Ok, Delete
|
||||
|
||||
---
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user