mirror of
https://github.com/mastodon/mastodon.git
synced 2025-07-18 02:08:16 +00:00
Compare commits
3 Commits
bd4e7c9089
...
8e0bec8c86
Author | SHA1 | Date | |
---|---|---|---|
![]() |
8e0bec8c86 | ||
![]() |
74fc4dbacf | ||
![]() |
3c2852daf3 |
|
@ -2848,7 +2848,6 @@ a.account__display-name {
|
||||||
&__pane {
|
&__pane {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
pointer-events: none;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
min-width: 285px;
|
min-width: 285px;
|
||||||
|
@ -2860,7 +2859,6 @@ a.account__display-name {
|
||||||
&__inner {
|
&__inner {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 285px;
|
width: 285px;
|
||||||
pointer-events: auto;
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
module Mastodon
|
module Mastodon
|
||||||
module MigrationWarning
|
module MigrationWarning
|
||||||
|
include ActionView::Helpers::TextHelper
|
||||||
|
|
||||||
WARNING_SECONDS = 10
|
WARNING_SECONDS = 10
|
||||||
|
|
||||||
DEFAULT_WARNING = <<~WARNING_MESSAGE.freeze
|
DEFAULT_WARNING = <<~WARNING_MESSAGE.freeze
|
||||||
|
@ -23,7 +25,7 @@ module Mastodon
|
||||||
|
|
||||||
def announce_countdown
|
def announce_countdown
|
||||||
WARNING_SECONDS.downto(1) do |i|
|
WARNING_SECONDS.downto(1) do |i|
|
||||||
say "Continuing in #{i} second#{'s' unless i == 1}...", true
|
say "Continuing in #{pluralize i, 'second'}}...", true
|
||||||
sleep 1
|
sleep 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user