Commit 13196ae5d4db531f8908ca6d27416f06c4ffa4eb

Authored by Macartur Sousa
1 parent 6810e303

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,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
@@ -9,4 +9,6 @@ @@ -9,4 +9,6 @@
9 <p><%= person.description %></p> 9 <p><%= person.description %></p>
10 </div> 10 </div>
11 </div> 11 </div>
  12 + <div style="clear: both">
  13 + </div>
12 </div> 14 </div>