diff --git a/app/assets/stylesheets/bubbles.css b/app/assets/stylesheets/bubbles.css index 25b014300..608a8d2da 100644 --- a/app/assets/stylesheets/bubbles.css +++ b/app/assets/stylesheets/bubbles.css @@ -330,6 +330,11 @@ color: var(--splat-color); } + textarea::selection { + background-color: var(--bubble-color); + color: var(--color-ink-reversed); + } + @media (hover: hover) { .bubble:has(.bubble__image img:not([src=""])):hover & { color: var(--color-ink-reversed); diff --git a/app/controllers/bubbles_controller.rb b/app/controllers/bubbles_controller.rb index 2c8cf0be5..974c9aec9 100644 --- a/app/controllers/bubbles_controller.rb +++ b/app/controllers/bubbles_controller.rb @@ -12,7 +12,7 @@ class BubblesController < ApplicationController def create @bubble = @bucket.bubbles.create! - redirect_to @bubble + redirect_to bucket_bubble_path(@bubble.bucket, @bubble, editing: true) end def show diff --git a/app/views/bubbles/_bubble.html.erb b/app/views/bubbles/_bubble.html.erb index 4945e02b6..033364ed5 100644 --- a/app/views/bubbles/_bubble.html.erb +++ b/app/views/bubbles/_bubble.html.erb @@ -6,12 +6,16 @@