Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3889)

Unified Diff: chrome/browser/resources/settings/internet_page/network_proxy_input.html

Issue 2889073002: Settings: Internet page cleanup (Closed)
Patch Set: Rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/internet_page/network_proxy_input.html
diff --git a/chrome/browser/resources/settings/internet_page/network_proxy_input.html b/chrome/browser/resources/settings/internet_page/network_proxy_input.html
index 6e2716c660a14b44a944d4b20b713d8c75792938..2516d1ef6f6fcda33ed88d76657c0ef59b2ee75e 100644
--- a/chrome/browser/resources/settings/internet_page/network_proxy_input.html
+++ b/chrome/browser/resources/settings/internet_page/network_proxy_input.html
@@ -1,31 +1,45 @@
<link rel="import" href="chrome://resources/html/polymer.html">
-<link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-input/iron-input.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input-container.html">
<link rel="import" href="internet_shared_css.html">
<dom-module id="network-proxy-input">
<template>
- <style include="internet-shared iron-flex">
+ <style include="internet-shared">
paper-input-container {
-webkit-margin-start: 10px;
margin-bottom: -12px;
margin-top: -8px;
}
+ #container {
+ align-items: center;
+ display: flex;
+ flex: 0 1 auto;
+ flex-direction: row;
+ }
+
+ #label {
+ flex: 1;
+ }
+
+ #host {
+ width: 200px;
+ }
+
#port {
width: 50px;
}
</style>
- <div class="layout horizontal center">
- <div class="flex">[[label]]</div>
- <paper-input-container no-label-float>
+ <div id="container">
+ <div id="label">[[label]]</div>
+ <paper-input-container id="host" no-label-float>
<input is="iron-input" bind-value="{{value.Host}}"
disabled="[[!editable]]" on-change="onValueChange_">
</paper-input-container>
<div>$i18n{networkProxyPort}</div>
- <paper-input-container no-label-float id="port">
+ <paper-input-container id="port" no-label-float>
<input is="iron-input" bind-value="{{value.Port}}"
disabled="[[!editable]]" on-change="onValueChange_">
</paper-input-container>

Powered by Google App Engine
This is Rietveld 408576698