Altinn / Altinn/app-frontend-react

Datepicker modal breaks design when datepicker is placed in the Grid component

Open
#4,003 0 comments 0 reactions 0 assignees View on GitHub
kind/bug squad/utforming status/for-consideration status/triage
Dominant language
TypeScript
Stars
21
Forks
33
Avg merge
6d 23h
Merged PRs (30d)
3

Description

### Description of the bug

It seems like the table cells used in the datepicker modal is affected by some table styling applied to the Grid component.

Image

### Steps To Reproduce

1. Place a datepicker in a grid component
2. open the datepicker modal and see that the buttons placed in cells become too tall.

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a datepicker placed inside the Grid component, then inspect the datepicker modal and Grid table styling mentioned in the report. Confirm that the modal's cell buttons retain their intended height when the conflicting styling is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.