Commit 5c79ead0 authored by dpapad's avatar dpapad Committed by Commit Bot

Fix sync-confirmation dialog styling in Polymer 2.

Need to wrap <style is="custom-style"> with <custom-style> such that styling
works both in Polymer 1 and Polymer 2.

Bug: 739532,896507
Change-Id: I40e4a1fa6ac071cc31268c5e86fa13a023a59490
Reviewed-on: https://chromium-review.googlesource.com/c/1287258Reviewed-by: default avatarScott Chen <scottchen@chromium.org>
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#600868}
parent bd33154b
......@@ -9,14 +9,16 @@
<link rel="import" href="signin_shared_css.html">
<link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
<link rel="stylesheet" href="sync_confirmation.css"></link>
<style is="custom-style" include="signin-dialog-shared paper-button-style">
<custom-style>
<style is="custom-style" include="signin-dialog-shared paper-button-style">
<if expr="is_macosx or is_linux">
#undoButton {
margin-inline-end: 8px;
margin-inline-start: 0;
}
#undoButton {
margin-inline-end: 8px;
margin-inline-start: 0;
}
</if>
</style>
</style>
</custom-style>
</head>
<body>
<!--
......
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