mattermost-plugin-github
mattermost-plugin-github copied to clipboard
Notification numbers are not properly aligned
The numbers in the left hand side bar are not properly aligned, which is very obvious when all the numbers are the same ones, as in the following screenshot:
We need to fix the CSS so they are aligned. I'm not sure if the best way would be to assign the same width to the icons, or to align the icons and the numbers separately.
I would love to work on this
Awesome, thanks @RabsonJ :+1:
Awesome, thanks @RabsonJ :+1:
Thank you! Let me get working
@hanzei can you please give me the exact name of the file / it's location
Sure @RabsonJ. The button are defined in https://github.com/mattermost/mattermost-plugin-github/blob/master/webapp/src/components/sidebar_buttons/sidebar_buttons.jsx. You might want to take a look at the getStyle
method first: https://github.com/mattermost/mattermost-plugin-github/blob/793631adb358f29a7d1a187dfedd13c2d5dfdf11/webapp/src/components/sidebar_buttons/sidebar_buttons.jsx#L211-L235
I would Like to work on this issue .
Go ahead, @JanumalaAkhilendra, all yours!