fine tune css for element picker dialog to get same look on chromium/ffox

This commit is contained in:
gorhill 2016-10-02 16:10:38 -04:00
parent 89c2185e20
commit 90ec19d951
1 changed files with 8 additions and 5 deletions

View File

@ -58,17 +58,20 @@ section {
display: inline-block; display: inline-block;
width: 100%; width: 100%;
} }
section > div { section > div:first-child {
border: 1px solid #aaa;
margin: 0;
position: relative; position: relative;
} }
section > div > textarea { section > div > textarea {
background-color: #fff; background-color: #fff;
border: 1px solid #aaa; border: none;
box-sizing: border-box; box-sizing: border-box;
font: 11px monospace; font: 11px monospace;
height: 6em; height: 8em;
margin: 0;
overflow: hidden; overflow: hidden;
padding: 0; padding: 2px;
resize: none; resize: none;
width: 100%; width: 100%;
} }
@ -83,7 +86,7 @@ section > div > textarea + div {
position: absolute; position: absolute;
right: 0; right: 0;
} }
section > div + div { section > div:first-child + div {
direction: ltr; direction: ltr;
margin: 2px 0; margin: 2px 0;
text-align: right; text-align: right;