Skip to content

Commit

Permalink
Update button styles
Browse files Browse the repository at this point in the history
  • Loading branch information
noracato committed Dec 17, 2024
1 parent 0cf47dc commit 106732d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/components/login/button_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module Login
class ButtonComponent < ActionButtonComponent
def initialize(form:)
super(form:, type: :submit, color: :primary, size: :lg, class: "w-full !py-3 mt-5 bg-midnight-600")
super(form:, type: :submit, color: :primary, size: :lg, class: "w-full !py-3 mt-5 bg-midnight-600 text-midnight-800")
end
end
end
6 changes: 4 additions & 2 deletions app/views/layouts/_buttons.html.haml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.flex.py-5
.bg-gray-100.p-2.px-5.mr-0.ml-auto.rounded-md
= link_to t('continue_working'), last_visited_page_path, class: 'continue-button'
.flex.basis-full{class: 'lg:basis-3/4'}
- if cookies[:last_visited_page].present?
.bg-gray-100.p-2.px-5.mr-0.ml-auto.rounded-md
= link_to t('continue_working'), last_visited_page_path, class: 'continue-button'

0 comments on commit 106732d

Please sign in to comment.