Replaced maxwidth with width, solved all the problemz