Commit bae8f7b8 authored by Jimmy Gong's avatar Jimmy Gong Committed by Commit Bot

Add horizontal border line underneath SavedPrinters

- Adds a horizontal border line between SavedPrinters and NearbyPrinters.

Bug: 965721
Test: end to end manual
Change-Id: I1430e4cc60828d9f698f85ec84c6dfa05779e980
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1783798
Commit-Queue: jimmy gong <jimmyxgong@chromium.org>
Reviewed-by: default avatarBailey Berro <baileyberro@chromium.org>
Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#694149}
parent c1907c87
...@@ -72,6 +72,10 @@ ...@@ -72,6 +72,10 @@
text-align: center; text-align: center;
} }
#savedPrintersContainer {
border-bottom: var(--cr-separator-line);
}
:host(:not([can-add-printer])) #addPrinterSection, :host(:not([can-add-printer])) #addPrinterSection,
:host(:not([can-add-printer])) #nearbyPrinters { :host(:not([can-add-printer])) #nearbyPrinters {
opacity: var(--cr-disabled-opacity); opacity: var(--cr-disabled-opacity);
...@@ -128,19 +132,20 @@ ...@@ -128,19 +132,20 @@
</template> </template>
<template is="dom-if" <template is="dom-if"
if="[[doesAccountHaveSavedPrinters_(savedPrinters_)]]" if="[[doesAccountHaveSavedPrinters_(savedPrinters_)]]" restamp>
id="savedPrintersSection" restamp> <div id="savedPrintersContainer">
<div class="settings-box first"> <div class="settings-box first">
<div class="start"> <div class="start">
<span>$i18n{savedPrintersTitle}</span> <span>$i18n{savedPrintersTitle}</span>
</div>
</div> </div>
</div>
<settings-cups-saved-printers id="savedPrinters" <settings-cups-saved-printers id="savedPrinters"
active-printer="{{activePrinter}}" active-printer="{{activePrinter}}"
saved-printers="[[savedPrinters_]]" saved-printers="[[savedPrinters_]]"
search-term="[[searchTerm]]"> search-term="[[searchTerm]]">
</settings-cups-saved-printers> </settings-cups-saved-printers>
</div>
</template> </template>
<div class="padded first" id="nearbyPrinters"> <div class="padded first" id="nearbyPrinters">
......
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