Commit 76de22e3 authored by Gavin Williams's avatar Gavin Williams Committed by Commit Bot

Reduce the size of the settings password dialog

-Set a specific dialog width because the default cr-dialog width is too
large

-Reduced padding to bring the elements closer together

Bug: 985108
Change-Id: I0b4f9a958b88a43669dcabceefbc9e9eb3a632da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1775219Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
Reviewed-by: default avatarBailey Berro <baileyberro@chromium.org>
Commit-Queue: Gavin Williams <gavinwill@chromium.org>
Cr-Commit-Position: refs/heads/master@{#692193}
parent 2636d855
......@@ -8,19 +8,18 @@
<dom-module id="settings-password-prompt-dialog">
<template>
<style include="settings-shared">
#passwordInput {
display: inline-block;
cr-dialog::part(dialog) {
width: 320px;
}
.settings-box {
#passwordPrompt {
padding: 0;
}
</style>
<cr-dialog id="dialog" close-text="$i18n{close}">
<div slot="title">$i18n{passwordPromptTitle}</div>
<div slot="body">
<div class="settings-box first">
<div id="passwordPrompt" class="settings-box first line-only">
[[passwordPromptText]]
</div>
<cr-input id="passwordInput" type="password"
......
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