Commit 790cd92f authored by Randall Leeds's avatar Randall Leeds

Simplify share dialog CSS

Rather than absolute positions and padding and whatnot just set
the width on the input element and set white-space: nowrap to ensure
it and the icon are side-by-side.
parent b6d5f26e
...@@ -136,18 +136,15 @@ privacy { ...@@ -136,18 +136,15 @@ privacy {
.share-dialog { .share-dialog {
position: absolute; position: absolute;
right: 100%; right: 0;
bottom: 100%; bottom: 100%;
width: 240px; padding: 3px;
margin-right: -46px;
margin-bottom: 2px;
padding: 3px 5px 3px 23px;
z-index: 1; z-index: 1;
display: block; display: block;
line-height: 1.4; background: $white;
background: #fff; border: 1px solid $gray-lighter;
border: 1px solid #d3d3d3;
border-radius: 2px; border-radius: 2px;
white-space: nowrap;
&:after, &:before { &:after, &:before {
top: 100%; top: 100%;
...@@ -174,19 +171,9 @@ privacy { ...@@ -174,19 +171,9 @@ privacy {
margin-right: -6px; margin-right: -6px;
} }
a {
position: absolute;
left: 0;
line-height: 1.4;
left: 5px;
vertical-align: middle;
}
input { input {
padding: 0; padding: 0;
width: 100%; width: 220px;
font-size: 0.84em;
padding: 1px 3px;
border: none; border: none;
color: $text-color; color: $text-color;
outline: $gray-lighter solid 1px; outline: $gray-lighter solid 1px;
......
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