bcgov / bcgov/entity

Auth Web: fix table action button alignment

Open
#12,162 2 comments 0 reactions 0 assignees View on GitHub
bug ENTITY - DO NOT USE Priority3
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

**Describe the bug in current situation**
The drop-down menu alignment is done incorrectly (ie, uses negative left margin instead of aligning the right side as expected). When the screen size is excessively small, the drop-down menu is partly hidden underneath the scrollbar.

**Link bug to the User Story**
None.

**Impact of this bug**
The drop-down menu does not always align with the right side of the button. Also, this restricts further alignment fixes.

**Chance of Occurring (high/medium/low/very low)**
This is only a problem with very small screen sizes, which can be reproduced by zooming in a large amount.

This is fine on normal size screens.

**Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?**
See above.

**Steps to Reproduce**
Steps to reproduce the behavior:
1. Login to BCROS
2. Go to My Business Registry page
3. Click drop-down button on various entities
4. See error

**Actual/ observed behavior/ results**
![image.png](https://images.zenhubusercontent.com/5d0a7edda4644173e93bf808/ddd726ee-241f-47c1-8268-877c5adb8696)

**Expected behavior**
The drop-down menu aligns with the right side of the action button.

**Screenshots/ Visual Reference/ Source**
See above.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.