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

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

Issue 2889073002: Settings: Internet page cleanup (Closed)
Patch Set: Fix network_summary_item 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 aba456c3785e6775f437d56a17066d2965d569a6..b05c8a891eee6f333a3d4429548f3ef5bc3b8083 100644
--- a/chrome/browser/resources/settings/internet_page/network_proxy_input.html
+++ b/chrome/browser/resources/settings/internet_page/network_proxy_input.html
@@ -1,30 +1,44 @@
<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