mi6 / ic-ui-kit

Intelligence Community UI Kit (based on StencilJS)
MIT License
25 stars 25 forks source link

[ic-side-navigation] Issues when text resized to 200% #1923

Open GCHQ-Developer-530 opened 4 months ago

GCHQ-Developer-530 commented 4 months ago

Summary of the bug

When text is resized to 200%, side nav presents a few issues:

🪜 How to reproduce

Tell us the steps to reproduce the problem:

  1. Resize text to 200% or extra large etc.
  2. View any side nav example
  3. See the error

📸 Screenshots or code

Icons not resized or vertically centred -

Screenshot 2024-05-24 at 09 53 52 Screenshot 2024-05-24 at 09 54 39 Screenshot 2024-05-24 at 09 54 52

Focus doesn't grow to the width of the side nav -

Screenshot 2024-05-24 at 09 55 28

Mobile, app title cut off and long labels -

Screenshot 2024-05-24 at 09 56 12

🧐 Expected behaviour

Should work the same as when text is default size

MI6-255 commented 3 months ago

Main focus is the app title being cut off, if the other fixes are bigger, we can break them out and re-priortise

MI6-255 commented 3 months ago

May have had a similar fix in Tab Groups

MI6-255 commented 3 months ago

Intended behaviour for the title is ellipsis