Keep version string displayed without breakpoints in UI (#26986)

local
Michael Stanclift 8 months ago committed by GitHub
parent 6320c52630
commit 5a437edc7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/javascript/mastodon/features/ui/components/link_footer.jsx
  2. 4
      app/javascript/styles/mastodon/components.scss

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

@ -9009,6 +9009,10 @@ noscript {
color: $dark-text-color; color: $dark-text-color;
margin-bottom: 20px; margin-bottom: 20px;
.version {
white-space: nowrap;
}
strong { strong {
font-weight: 500; font-weight: 500;
} }

Loading…
Cancel
Save