File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -8,13 +8,15 @@ class Api::V1::CollectionCardsController < Api::V1::BaseController
88 ]
99 load_and_authorize_resource except : %i[
1010 index
11+ ids
1112 move
1213 replace
1314 update_card_filter
1415 ]
1516 # this is skipped to enable viewable_by_anyone public capability, permissions are still checked via cancan
1617 skip_before_action :check_api_authentication! , only : %i[
1718 index
19+ ids
1820 ]
1921 before_action :load_and_authorize_parent_collection , only : %i[
2022 create
Original file line number Diff line number Diff line change @@ -166,17 +166,19 @@ export const SectionCardWrapper = styled.div`
166166 height: 100%;
167167 width: 100%;
168168 background: ${ props => props . backgroundColor } ;
169+
170+ ${ props =>
171+ props . selected &&
172+ `
173+ &:before {
174+ ${ highlightedCardCss }
175+ }
176+ ` } ;
177+
169178 .sectionInner {
170179 border-radius: ${ props => props . theme . zoomLevel * 2 } px;
171180 position: absolute;
172181 cursor: grab;
173- ${ props =>
174- props . selected &&
175- `
176- &:before {
177- ${ highlightedCardCss }
178- }
179- ` } ;
180182 }
181183
182184 .styled-name {
You can’t perform that action at this time.
0 commit comments