Commit aec2d25368138d963892571f1d32bcd850d167a3

Authored by Macartur Sousa
1 parent 625d8f63

Elasticsearch: removed flex from person itens

Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Signed-off-by: Arthur Jahn <stutrzbecher@gmail.com>
plugins/elasticsearch/public/style.css
... ... @@ -3,7 +3,7 @@
3 3 }
4 4  
5 5 .controller-elasticsearch_plugin .sidebar {
6   - width: 270px;
  6 + min-width: 240px;
7 7 }
8 8  
9 9 .controller-elasticsearch_plugin .search_form {
... ... @@ -38,7 +38,7 @@
38 38 }
39 39  
40 40 .controller-elasticsearch_plugin .results {
41   - flex: 2;
  41 + flex: 1;
42 42 margin-top: 20px;
43 43 border-radius: 5px;
44 44 border: 1px solid #eee;
... ... @@ -124,15 +124,13 @@
124 124 margin: 15px;
125 125 }
126 126  
127   -.controller-elasticsearch_plugin .search-item .person-item {
128   - display: flex;
129   -}
130   -
131 127 .controller-elasticsearch_plugin .right-side {
132   - flex: 2;
  128 + float: left;
  129 + width: calc(100% - 80px);
133 130 }
134 131  
135 132 .controller-elasticsearch_plugin .left-side {
  133 + float: left;
136 134 width: 80px;
137 135 }
138 136  
... ...
plugins/elasticsearch/views/elasticsearch_plugin/_person_display.html.erb
... ... @@ -9,4 +9,6 @@
9 9 <p><%= person.description %></p>
10 10 </div>
11 11 </div>
  12 + <div style="clear: both">
  13 + </div>
12 14 </div>
... ...