I'm currently developing a vertical menu bar from scratch. To ensure responsiveness, I am using the CSS techniques demonstrated in Responsive Web Design by W3school. The menu consists of 5 list items with Font Awesome icons embedded within. I have set up a media query for a minimum width of 768px, but the text within the menu items starts going to the lines below when the screen width is reduced.
https://i.sstatic.net/uZS1a.png.
Is there any way to align the text so that it begins right after the first line, similar to how the "services" text aligns with the icon rather than "network"? I have attempted to use text-align due to the icons being treated as text, but it was unsuccessful. Any assistance would be appreciated.
If there is a method to align the fonts between these two lines, that would also be beneficial.