-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: icon in SV visualization DHIS2-10496 (#1440)
* feat: toggle icon in SV depending on DV option * feat: show icon in SV when assigned and DV option is enabled DHIS2-10496 * fix: embed svg directly to allow for changing colors This requires the SVG icons from the API to use "currentColor" in their fill/stroke attributes instead of the fixed color currently used. * fix: add more space between icon and text * fix: replace hardcoded color with currentColor This allow for controlling the color of the icon from the app. * fix: fix merge conflicts * fix: avoid crash in dashboard when no legend is applied * fix: add xmlns attribute required for download DHIS2-15161 The attribute is not required when the SVG is embedded in another document, but in the case of download, the SVG is "standalone" and requires the namespace. * fix: center subtitle DHIS2-13702 * fix: center title * fix: remove marging which clashes with rounded borders * fix: fix missing icon and value vertical align in download DHIS2-15162 * fix: attempt to fix some alignment issues when icon is used Related to DHIS2-15157 --------- Co-authored-by: Martin <martin@moid.se>
- Loading branch information
1 parent
784655d
commit e6563ca
Showing
1 changed file
with
145 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters