Skip to content

Commit

Permalink
Keep version string displayed without breakpoints in UI (mastodon#26986)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmstan authored and audiodude committed Oct 23, 2023
1 parent 6638f28 commit f564050
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
);
Expand Down
4 changes: 4 additions & 0 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9009,6 +9009,10 @@ noscript {
color: $dark-text-color;
margin-bottom: 20px;

.version {
white-space: nowrap;
}

strong {
font-weight: 500;
}
Expand Down

0 comments on commit f564050

Please sign in to comment.