~cytrogen/masto-fe

5a437edc7f22d5797e5af29d9b450a03eccec304 — Michael Stanclift 2 years ago 6320c52
Keep version string displayed without breakpoints in UI (#26986)

M app/javascript/mastodon/features/ui/components/link_footer.jsx => app/javascript/mastodon/features/ui/components/link_footer.jsx +1 -1
@@ 100,7 100,7 @@ class LinkFooter extends PureComponent {
          {DividingCircle}
          <a href={source_url} rel='noopener noreferrer' target='_blank'><FormattedMessage id='footer.source_code' defaultMessage='View source code' /></a>
          {DividingCircle}
          v{version}
          <span class='version'>v{version}</span>
        </p>
      </div>
    );

M app/javascript/styles/mastodon/components.scss => app/javascript/styles/mastodon/components.scss +4 -0
@@ 9009,6 9009,10 @@ noscript {
    color: $dark-text-color;
    margin-bottom: 20px;

    .version {
      white-space: nowrap;
    }

    strong {
      font-weight: 500;
    }