Commit f7598a1b authored by Juliet Levesque's avatar Juliet Levesque Committed by Commit Bot

[Nearby] Formatting changes for the Nearby Share debug page.

Updated the font and fixed a double border problem on the Contacts Tab
and the HTTP Messages tab. Font screenshot here:
https://screenshot.googleplex.com/8a9a5ca4-623f-4b51-8e79-70da2e23f478

Change-Id: Id202125317b50ee07dd514587f51a785cbd622f9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363714
Commit-Queue: Juliet Levesque <julietlevesque@google.com>
Reviewed-by: default avatarJosh Nohle <nohle@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799512}
parent 9e2eeaa5
...@@ -3,10 +3,6 @@ ...@@ -3,10 +3,6 @@
--standard-border: 1px solid black; --standard-border: 1px solid black;
} }
#contact-list:last-child {
border-bottom: var(--standard-border);
}
#clearButton { #clearButton {
float: right; float: right;
} }
...@@ -22,10 +18,10 @@ ...@@ -22,10 +18,10 @@
id="clearButton" disabled="[[!contactList_.length]]"> id="clearButton" disabled="[[!contactList_.length]]">
Clear Messages Clear Messages
</cr-button> </cr-button>
<iron-list items="[[contactList_]]" as="contact" id="contact-list" <doom-repeat items="[[contactList_]]" as="contact" id="contact-list"
hidden="[[!contactList_.length]]"> hidden="[[!contactList_.length]]">
<template> <template>
<contact-object item="[[contact]]"> <contact-object item="[[contact]]">
</contact-object> </contact-object>
</template> </template>
</iron-list> </dom-repeat>
<style> <style include="shared-style">
:host { :host {
--standard-border: 1px solid black; --standard-border: 1px solid black;
} }
#item { #item {
border: var(--standard-border); border-left: var(--standard-border);
border-right: var(--standard-border);
border-top: var(--standard-border);
} }
#header { #header {
......
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
id="clearButton" disabled="[[!httpMessageList_.length]]"> id="clearButton" disabled="[[!httpMessageList_.length]]">
Clear Messages Clear Messages
</cr-button> </cr-button>
<dom-repeat items="[[httpMessageList_]]" as="http-message" <dom-repeat items="[[httpMessageList_]]" as="http-message"
hidden="[[!httpMessageList_.length]]"> hidden="[[!httpMessageList_.length]]">
<template> <template>
......
...@@ -2,12 +2,14 @@ ...@@ -2,12 +2,14 @@
<style include="cr-shared-style"> <style include="cr-shared-style">
:host { :host {
cursor: default; cursor: default;
font-family: Roboto, Roboto, sans-serif; font-family: monospace;
font-size: 12px;
} }
.internals-button { .internals-button {
background-color: rgb(0, 134, 179); background-color: rgb(0, 134, 179);
color: white; color: white;
font-family: Roboto;
margin: 5px; margin: 5px;
} }
</style> </style>
......
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