Commit 7c9776b5 authored by Michael Checo's avatar Michael Checo Committed by Commit Bot

Diagnostics: Layout and card updates

Screenshot: http://shortn/_AyCiiMx92w

 - Center cards
 - Adjust margin within cards
 - Adjust card width
 - Remove minimum height requirement from cards

Bug: 1125150
Test: browser_tests --gtest_filter=DiagnosticsApp*
Change-Id: I4c4f31182c7c835f6015b15af0f5a3aab64f489d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2530744
Commit-Queue: Michael Checo <michaelcheco@google.com>
Reviewed-by: default avatarZentaro Kavanagh <zentaro@chromium.org>
Cr-Commit-Position: refs/heads/master@{#827994}
parent 78815e9e
<style include="cr-shared-style diagnostics-shared diagnostics-fonts"> <style include="cr-shared-style diagnostics-shared diagnostics-fonts">
.diagonstics-cards-container { .diagonstics-cards-container {
align-items: center;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-top: 12px; margin-top: 12px;
width: 650px;
} }
.card-header { .card-header {
...@@ -36,7 +37,6 @@ ...@@ -36,7 +37,6 @@
border: 1px solid var(--diagnostics-border-color); border: 1px solid var(--diagnostics-border-color);
border-radius: 14px; border-radius: 14px;
margin: 10px 0; margin: 10px 0;
min-height: 150px;
} }
.routine-container { .routine-container {
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
} }
.spacing { .spacing {
margin: 18px 0px; margin: 12px 0px;
padding-inline-end: 15px; padding-inline-end: 15px;
padding-inline-start: 15px; padding-inline-start: 15px;
} }
......
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