From 5a1f788247941583a011a06b2cdba36e33b1b8ce Mon Sep 17 00:00:00 2001 From: "Ilya Ig. Petrov" Date: Thu, 1 Jun 2017 14:11:28 +0500 Subject: [PATCH] Fix ProxyEditor stylings --- .../options/src/components/ProxyEditor.js | 23 +++++++++++++++---- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ProxyEditor.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ProxyEditor.js index 10d410e..047eb37 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ProxyEditor.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ProxyEditor.js @@ -7,6 +7,10 @@ export default function getProxyEditor(theState) { const scopedCss = css` + form.root { + width: 100%; + } + table.editor { border-collapse: collapse; /*border-style: hidden;*/ @@ -19,6 +23,11 @@ export default function getProxyEditor(theState) { color: #c9c9c9; } + table.editor th.shrink, + table.editor td.shrink { + width: 1%; + } + table.editor td, table.editor th { border: 1px solid #ccc; text-align: left; @@ -45,7 +54,7 @@ export default function getProxyEditor(theState) { { font-size: 0.9em; } - table.editor tr.addPanel td:nth-last-child(2) input /* PORT */ + table.editor tr.addPanel td:nth-last-child(2) /* PORT */ { min-width: 4em; } @@ -102,6 +111,7 @@ export default function getProxyEditor(theState) { /* LAST COLUMN: BUTTONS */ table.editor tr > *:nth-last-child(1), + table.editor tr > *:nth-last-child(2), table.editor tr.proxyRow > td:first-child { text-align: center; padding: 0; @@ -250,11 +260,14 @@ export default function getProxyEditor(theState) { render(props) { return ( -
+ - + + + @@ -291,7 +304,7 @@ export default function getProxyEditor(theState) {
протокол домен / IP порт + протоколдомен / IPпорт
{/* LAST-1: PORT */} +