Skip to content

Commit

Permalink
fix: correct Thumbnail indentation for Picker
Browse files Browse the repository at this point in the history
  • Loading branch information
lazd authored and GarthDB committed Dec 1, 2020
1 parent da0013b commit 93602c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/picker/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ governing permissions and limitations under the License.
.spectrum-Picker-icon {
flex-shrink: 0;

margin-inline-start: calc(var(--spectrum-picker-padding-left) - var(--spectrum-picker-textonly-padding-left));
/* todo: In theory, this is right -- there should be more gap with an icon -- but in practice, it does not match */
/* margin-inline-start: calc(var(--spectrum-picker-padding-left) - var(--spectrum-picker-textonly-padding-left)); */
margin-inline-end: var(--spectrum-picker-icon-gap);
}

Expand Down

0 comments on commit 93602c2

Please sign in to comment.