LiveSearch should use 50%
This commit is contained in:
parent
c65a7332cc
commit
44ba03c200
@ -16,11 +16,12 @@ linters:
|
|||||||
- Layout/MultilineMethodCallIndentation
|
- Layout/MultilineMethodCallIndentation
|
||||||
- Layout/MultilineMethodDefinitionBraceLayout
|
- Layout/MultilineMethodDefinitionBraceLayout
|
||||||
- Layout/MultilineOperationIndentation
|
- Layout/MultilineOperationIndentation
|
||||||
|
- Layout/SpaceBeforeBrackets
|
||||||
- Layout/TrailingEmptyLines
|
- Layout/TrailingEmptyLines
|
||||||
- Lint/Void
|
- Lint/Void
|
||||||
- Metrics/BlockNesting
|
- Metrics/BlockNesting
|
||||||
- Rails/OutputSafety
|
- Rails/OutputSafety
|
||||||
|
- Style/IdenticalConditionalBranches
|
||||||
- Style/IfUnlessModifier
|
- Style/IfUnlessModifier
|
||||||
- Style/Next
|
- Style/Next
|
||||||
- Style/WhileUntilModifier
|
- Style/WhileUntilModifier
|
||||||
- Layout/SpaceBeforeBrackets
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
= render(partial: 'additionals/live_search_ajax_call.js', layout: false, formats: [:js])
|
= render partial: 'additionals/live_search_ajax_call.js', layout: false, formats: [:js]
|
||||||
- classes = 'title' unless defined? classes
|
- classes = 'title' unless defined? classes
|
||||||
h2 class="#{classes}"
|
h2 class="#{classes}"
|
||||||
= @query.new_record? ? l(title) : h(@query.name)
|
= @query.new_record? ? l(title) : h(@query.name)
|
||||||
|
@ -181,7 +181,10 @@ div.clear-both { clear: both; }
|
|||||||
img.additionals-avatar { margin-right: 0.25em; }
|
img.additionals-avatar { margin-right: 0.25em; }
|
||||||
|
|
||||||
/* Live search */
|
/* Live search */
|
||||||
.additionals-live-search input.live-search-field { font-size: 16px; }
|
.additionals-live-search input.live-search-field {
|
||||||
|
font-size: 16px;
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
.additionals-live-search {
|
.additionals-live-search {
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
|
Loading…
Reference in New Issue
Block a user