LiveSearch should use 50%
This commit is contained in:
parent
c65a7332cc
commit
44ba03c200
@ -16,11 +16,12 @@ linters:
|
||||
- Layout/MultilineMethodCallIndentation
|
||||
- Layout/MultilineMethodDefinitionBraceLayout
|
||||
- Layout/MultilineOperationIndentation
|
||||
- Layout/SpaceBeforeBrackets
|
||||
- Layout/TrailingEmptyLines
|
||||
- Lint/Void
|
||||
- Metrics/BlockNesting
|
||||
- Rails/OutputSafety
|
||||
- Style/IdenticalConditionalBranches
|
||||
- Style/IfUnlessModifier
|
||||
- Style/Next
|
||||
- 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
|
||||
h2 class="#{classes}"
|
||||
= @query.new_record? ? l(title) : h(@query.name)
|
||||
|
@ -181,7 +181,10 @@ div.clear-both { clear: both; }
|
||||
img.additionals-avatar { margin-right: 0.25em; }
|
||||
|
||||
/* 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 {
|
||||
margin-left: 5px;
|
||||
|
Loading…
Reference in New Issue
Block a user