My Hive Posts

    Word Wrap for Github Repositories

    Fixing Issue #67 of Utopian-io - there was a bug posted by myself that Github Repository is going out of the area.

    image.png

    Analysing the Bug

    There is nothing much to analyze the bug because I know that we are not doing the word-wrap for the repository name.

    Fixing the Bug

    To fix the bug we need to add word-wrap: break-word; inside the 'a' tag as shown below

    a {
          color: #444;
          word-wrap: break-word;
    }
    

    Result

    Once done you can see that the extra characters are coming in the next line.

    image.png

    Commit : https://github.com/utopian-io/utopian.io/pull/81/commits/1253af13e99d6de66c830b8f4834ed626e5f2a41 Pull Request : https://github.com/utopian-io/utopian.io/pull/81



    Open Source Contribution posted via Utopian.io