Fix wrapping for RSS buttons

d89b9068cc927e0f6c5cb3e3b738f1b038909fac

Tucker McKnight | Sun Jan 11 2026

Fix wrapping for RSS buttons

The button should be part of the paragraph so that it doesn't go on
its own line at narrow screen widths.
js_templates/commits.ts:12
Before
12
13
        <p class="d-inline-block">Showing commits from <span class="font-monospace">${data.patchPage.branchName}</span></p>
        <a class="btn btn-outline-primary badge shadow-none ms-2" href="${nav.repoCurrentBranchRssFeed()}"><div class="d-flex"><img src="${nav.rootPath()}frontend/img/rss-icon.svg" style="width: 11px; margin-right: 5px;" />RSS</div></a>
After
12
13
        <p class="d-inline-block">Showing commits from <span class="font-monospace me-2">${data.patchPage.branchName}</span><a class="btn btn-outline-primary badge shadow-none" href="${nav.repoCurrentBranchRssFeed()}"><img src="${nav.rootPath()}frontend/img/rss-icon.svg" style="width: 11px; margin-right: 5px;" />RSS</a></p>
js_templates/repo.ts:82
Before
82
83
84
85
86
87
88
89
              <a class="btn btn-outline-info badge shadow-none me-2" href="${nav.repoCurrentBranchRssFeed()}">
                <div class="d-flex">
                  <img src="${nav.rootPath()}frontend/img/rss-icon.svg" style="width: 11px; margin-right: 5px;" />RSS
                </div>
              </a>
              <p class="font-monospace text-white mb-2 d-inline-block">
                Latest commit: ${latestCommit.date.toDateString()} <a class="fw-bold link-info" href="${nav.repoBranchCommitsBase()}${latestCommit.hash}">${latestCommit.hash.substr(0, 6)}</a> ${latestCommitMessage}
              </p>
After
82
83
84
85
86
87
88
89
              <p class="font-monospace text-white mb-2 d-inline-block"><a class="btn btn-outline-info badge shadow-none me-2" href="${nav.repoCurrentBranchRssFeed()}">
                <img src="${nav.rootPath()}frontend/img/rss-icon.svg" style="width: 11px; margin-right: 5px;" />RSS
              </a>Latest commit: ${latestCommit.date.toDateString()} <a class="fw-bold link-info" href="${nav.repoBranchCommitsBase()}${latestCommit.hash}">${latestCommit.hash.substr(0, 6)}</a> ${latestCommitMessage}</p>