Skip to content

BGDIINF_SB-2683: Improved html popover style#315

Merged
ltshb merged 3 commits intodevelopfrom
bug-BGDIINF_SB-2683-popover
Nov 30, 2022
Merged

BGDIINF_SB-2683: Improved html popover style#315
ltshb merged 3 commits intodevelopfrom
bug-BGDIINF_SB-2683-popover

Conversation

@ltshb
Copy link
Contributor

@ltshb ltshb commented Nov 29, 2022

Change the style of html popup to match mf-geoadmin3:
image

Was before:
image

And now is:
image

Test link

@github-actions github-actions bot added the bug label Nov 29, 2022
@ltshb ltshb changed the base branch from bug-BGDIINF_SB-2683-geojson to develop November 29, 2022 19:20
@ltshb ltshb force-pushed the bug-BGDIINF_SB-2683-popover branch from b6cb499 to b3c6b69 Compare November 29, 2022 19:47
@ltshb ltshb requested a review from pakb November 30, 2022 05:20
@ltshb ltshb changed the base branch from develop to bug-BGDIINF_SB-2683-geojson November 30, 2022 05:20
@ltshb ltshb force-pushed the bug-BGDIINF_SB-2683-geojson branch from dc6c5a3 to e730561 Compare November 30, 2022 08:38
@ltshb ltshb marked this pull request as draft November 30, 2022 08:39
@ltshb ltshb removed the request for review from pakb November 30, 2022 08:39
@ltshb ltshb force-pushed the bug-BGDIINF_SB-2683-geojson branch from e730561 to 1fb774f Compare November 30, 2022 14:16
Base automatically changed from bug-BGDIINF_SB-2683-geojson to develop November 30, 2022 15:34
The popover triangle css declaration was done in two component, one used
a border but the other not. Moved it to the parent component with the border.

This way both html popover and position popover use the same triangle style.
Made it similar to mf-geoadmin3. For this I removed the card-body class that
added padding that we don't want on html popup to have the title in a grey
bar taking the whole width of the bar.

I kept the card-body for the position popup.
Instead of using a margin use a paddind of the htmlpopup content. This avoid
to have the content of the card.
@ltshb ltshb force-pushed the bug-BGDIINF_SB-2683-popover branch from b3c6b69 to 88ac4e0 Compare November 30, 2022 15:42
@ltshb ltshb marked this pull request as ready for review November 30, 2022 15:43
@ltshb ltshb requested a review from pakb November 30, 2022 15:43
@ltshb ltshb merged commit daf3824 into develop Nov 30, 2022
@ltshb ltshb deleted the bug-BGDIINF_SB-2683-popover branch November 30, 2022 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants