Commit 13196ae5d4db531f8908ca6d27416f06c4ffa4eb
1 parent
6810e303
Exists in
elasticsearch_filter
and in
1 other branch
Elasticsearch: removed flex from person itens
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com> Signed-off-by: Arthur Jahn <stutrzbecher@gmail.com>
Showing
2 changed files
with
7 additions
and
7 deletions
Show diff stats
plugins/elasticsearch/public/style.css
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | } | 3 | } |
4 | 4 | ||
5 | .controller-elasticsearch_plugin .sidebar { | 5 | .controller-elasticsearch_plugin .sidebar { |
6 | - width: 270px; | 6 | + min-width: 240px; |
7 | } | 7 | } |
8 | 8 | ||
9 | .controller-elasticsearch_plugin .search_form { | 9 | .controller-elasticsearch_plugin .search_form { |
@@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
38 | } | 38 | } |
39 | 39 | ||
40 | .controller-elasticsearch_plugin .results { | 40 | .controller-elasticsearch_plugin .results { |
41 | - flex: 2; | 41 | + flex: 1; |
42 | margin-top: 20px; | 42 | margin-top: 20px; |
43 | border-radius: 5px; | 43 | border-radius: 5px; |
44 | border: 1px solid #eee; | 44 | border: 1px solid #eee; |
@@ -124,15 +124,13 @@ | @@ -124,15 +124,13 @@ | ||
124 | margin: 15px; | 124 | margin: 15px; |
125 | } | 125 | } |
126 | 126 | ||
127 | -.controller-elasticsearch_plugin .search-item .person-item { | ||
128 | - display: flex; | ||
129 | -} | ||
130 | - | ||
131 | .controller-elasticsearch_plugin .right-side { | 127 | .controller-elasticsearch_plugin .right-side { |
132 | - flex: 2; | 128 | + float: left; |
129 | + width: calc(100% - 80px); | ||
133 | } | 130 | } |
134 | 131 | ||
135 | .controller-elasticsearch_plugin .left-side { | 132 | .controller-elasticsearch_plugin .left-side { |
133 | + float: left; | ||
136 | width: 80px; | 134 | width: 80px; |
137 | } | 135 | } |
138 | 136 |
plugins/elasticsearch/views/elasticsearch_plugin/_person_display.html.erb