Skip to content

Commit

Permalink
Hotfix: Dark mode on keyboard shortcuts menu
Browse files Browse the repository at this point in the history
  • Loading branch information
krschacht committed May 17, 2024
1 parent 05f3d6e commit 7c29043
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<% content_for :title, "HostedGPT" %>
<!DOCTYPE html>
<html
>

<html>

<%= render "head" %>

<body
class="
nav-closed
<%= Current.user.preferences[:dark_mode]%>
<%= Current.user.preferences[:dark_mode] %>
"
data-controller="transition"
data-transition-toggle-class="nav-closed"
Expand Down
2 changes: 1 addition & 1 deletion app/views/messages/_main_column.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@
data-controller="modal"
data-action="keydown@document->modal#keydownQuestionOpen"
>
<main class="modal-box max-w-5xl">
<main class="modal-box max-w-5xl dark:bg-black">
<header class="font-bold text-lg mb-5">
Keyboard shortcuts
</header>
Expand Down

0 comments on commit 7c29043

Please sign in to comment.