Browse Source

Move inline CSS into our overrides scss

lets-bump-hometown-to-mastodon-4.2
nachtjasmin 2 years ago
parent
commit
ded251fffc
No known key found for this signature in database
  1. 9
      app/javascript/styles/hometown.scss
  2. 2
      app/views/statuses/_simple_status.html.haml

9
app/javascript/styles/hometown.scss

@ -43,3 +43,12 @@
.dismissable-banner:has([href='/explore']) {
display: none;
}
// app/views/statuses/_simple_status.html.haml
// Set width and height for the local-only indicator
.status__action-bar-button.icon-button:has(.fw.fa-chain-broken) {
font-size: 18px;
width: 23.1429px;
height: 23.1429px;
line-height: 23.15px;
}

2
app/views/statuses/_simple_status.html.haml

@ -69,5 +69,5 @@
%span.status__action-bar-button.icon-button
= fa_icon 'star fw'
- if status.local_only
%span.status__action-bar-button.icon-button.disabled{style: 'font-size: 18px; width: 23.1429px; height: 23.1429px; line-height: 23.15px;'}<
%span.status__action-bar-button.icon-button.disabled
= fa_icon 'chain-broken fw', 'title': t('statuses.local_only')

Loading…
Cancel
Save