Merge pull request #3217 from TracksApp/fixes
Some checks failed
Build latest / Build latest (push) Has been cancelled

Style fixes after Superfish update in !3125. Allow access to the todo…
This commit is contained in:
Jyri-Petteri Paloposki 2026-01-09 12:08:21 +02:00 committed by GitHub
commit a8a305a585
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 2 deletions

View file

@ -1388,3 +1388,25 @@ ul.todo-submenu > li > a {
.recurring_todos .ui-dialog .ui-dialog-title {
float: inherit;
}
.sf-menu {
margin-bottom: 0;
}
.sf-menu a {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.sf-menu li {
background: none !important;
}
.sf-menu ul.todo-submenu {
background: white;
padding: 0.25em;
}
.sf-menu ul.todo-submenu li > a {
padding-left: 24px;
}

View file

@ -1,6 +1,6 @@
class TodosController < ApplicationController
skip_before_action :login_required, :only => [:index, :tag, :list_deferred, :show, :list_hidden, :done]
prepend_before_action :login_or_feed_token_required, :only => [:index, :tag, :list_deferred, :show, :list_hidden, :done]
skip_before_action :login_required, :only => [:index, :create, :tag, :list_deferred, :show, :list_hidden, :done]
prepend_before_action :login_or_feed_token_required, :only => [:index, :create, :tag, :list_deferred, :show, :list_hidden, :done]
append_before_action :find_and_activate_ready, :only => [:index, :list_deferred]
protect_from_forgery :except => :check_deferred