Commit ff148eeb authored by Hector Carmona's avatar Hector Carmona Committed by Commit Bot

Navi: Update centering CSS to prevent clipping on small screen.

Screenshot in bug.

Bug: 928174
Change-Id: I55fb4d0226fd623a4d377ed95928891744e55cef
Reviewed-on: https://chromium-review.googlesource.com/c/1459578Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Hector Carmona <hcarmona@chromium.org>
Cr-Commit-Position: refs/heads/master@{#630114}
parent 3513a3b5
...@@ -19,11 +19,8 @@ ...@@ -19,11 +19,8 @@
<template> <template>
<style include="paper-button-style cr-hidden-style"> <style include="paper-button-style cr-hidden-style">
#viewManager { #viewManager {
align-items: center;
display: flex; display: flex;
flex-direction: column;
font-size: 100%; font-size: 100%;
justify-content: center;
margin: 0; margin: 0;
min-height: 100vh; min-height: 100vh;
} }
...@@ -33,6 +30,8 @@ ...@@ -33,6 +30,8 @@
/* Override cr-view-manager's default styling for view. */ /* Override cr-view-manager's default styling for view. */
bottom: initial; bottom: initial;
left: initial; left: initial;
margin: auto;
position: unset;
right: initial; right: initial;
top: initial; top: initial;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment