Move inline CSS into our overrides scss

This commit is contained in:
nachtjasmin 2023-12-28 21:21:38 +01:00
parent 6af838b2ba
commit ded251fffc
No known key found for this signature in database
2 changed files with 10 additions and 1 deletions

View File

@ -43,3 +43,12 @@
.dismissable-banner:has([href='/explore']) { .dismissable-banner:has([href='/explore']) {
display: none; 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;
}

View File

@ -69,5 +69,5 @@
%span.status__action-bar-button.icon-button %span.status__action-bar-button.icon-button
= fa_icon 'star fw' = fa_icon 'star fw'
- if status.local_only - 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') = fa_icon 'chain-broken fw', 'title': t('statuses.local_only')