-
Hi, I had an issue where when an SVG is scaled in % rather than a value, the TopNavigation title is truncated. I fixed it by changing the scaling of the SVG to be set in values rather than %. Is there a way that would allows the TopNavigation Logo SVGs to be scaled in % without truncating the title? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hi @suvihaara ! I'm not sure I completely understand. Could you please provide an example SVG with % and with values? And some screenshots of how those looked for you? |
Beta Was this translation helpful? Give feedback.
-
Hi @timogasda! No problem, hope this message will clarify the issue. The original SVG file I downloaded to use as the logo file for the TopNavigation component had the following format: I spent quite a while trying to figure out why the title of the page was truncated in this manner. When I changed the width and height of the SVG on line 10 into this format: I just wanted to raise awareness of this in case there is a way to prevent the same issue from happening again. It was an easy thing to fix once I happened to stumble on the cause of it, but the cause was a bit of a random bug. Hope this explains the issue I had a bit better. |
Beta Was this translation helpful? Give feedback.
-
Ran into the same issue and used this |
Beta Was this translation helpful? Give feedback.
-
Converted this into an issue #704. Let's move the conversation here. |
Beta Was this translation helpful? Give feedback.
-
Copying my reply in the opened issue here for visibility: Sorry for the late replies on this bug, this PR should fix the issue with the top navigation and full width/height svg logos. Will followup when this is merged. |
Beta Was this translation helpful? Give feedback.
Converted this into an issue #704. Let's move the conversation here.