mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-12 04:08:51 +01:00
Merge pull request #3217 from TracksApp/fixes
Some checks failed
Build latest / Build latest (push) Has been cancelled
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:
commit
a8a305a585
2 changed files with 24 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue