(search) Change layout balance when feeds/samples are present
This commit is contained in:
parent
5d1b7da728
commit
c7af40c368
@ -250,6 +250,12 @@ public class SearchSiteInfoService {
|
||||
if (similar.size() < 25) {
|
||||
return "lopsided";
|
||||
}
|
||||
else if (!feed.items().isEmpty()) {
|
||||
return "lopsided";
|
||||
}
|
||||
else if (!samples.isEmpty()) {
|
||||
return "lopsided";
|
||||
}
|
||||
else {
|
||||
return "balanced";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user