diff --git a/app/assets/stylesheets/nav.css b/app/assets/stylesheets/nav.css index 3a8836e84..b37201e1d 100644 --- a/app/assets/stylesheets/nav.css +++ b/app/assets/stylesheets/nav.css @@ -78,6 +78,7 @@ overflow: hidden; padding-block-end: 0; scrollbar-gutter: stable both-edges; + z-index: var(--z-nav); } .nav__scroll-container { diff --git a/app/models/notification.rb b/app/models/notification.rb index 416506783..4b69dd6e6 100644 --- a/app/models/notification.rb +++ b/app/models/notification.rb @@ -12,7 +12,7 @@ class Notification < ApplicationRecord after_create_commit :broadcast_unread after_destroy_commit :broadcast_read - after_create :bundle + after_create_commit :bundle scope :preloaded, -> { preload(:creator, :account, source: [ :board, :creator ]) } diff --git a/config/database.yml b/config/database.yml index b7f1d3297..fe34b5eff 100644 --- a/config/database.yml +++ b/config/database.yml @@ -25,7 +25,8 @@ default: &default port: <%= ENV.fetch "FIZZY_DB_PORT", 3306 %> pool: 50 timeout: 5000 - <% end %> + variables: + transaction_isolation: READ-COMMITTED development: <% if use_sqlite %>