[ios] Fixes History CollectionVC top margin.
Before crrev.com/c/695934, a top message was always being displayed. Now thats not the case, this CLremoves the top cell that contains the message if there's no message. Also, on iOS11 the contentInset was being adjusted automatically, causing an even larger blank space on top. This is fixed by setting the ContentInsetAdjustmentBehavior to never. Screenshots: https://drive.google.com/open?id=1N6egGvEOeSF2uags3w4hmLupWy7Vk4v3 https://drive.google.com/open?id=1hCW15FIUtw2o5rJ7MiqDcRd1z6Xq42O0 Bug: 778571 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: I2b9f2b5f92e22f955fb10c5ea609f4ee4f130836 Reviewed-on: https://chromium-review.googlesource.com/830911 Commit-Queue: Sergio Collazos <sczs@chromium.org> Reviewed-by:Sky Malice <skym@chromium.org> Reviewed-by:
Louis Romero <lpromero@chromium.org> Cr-Commit-Position: refs/heads/master@{#524588}
Showing
Please register or sign in to comment