Skip to content

Commit 1e289e4

Browse files
committed
chore(styling): reduce and make image width more flexible
1 parent 0c6a896 commit 1e289e4

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

dist/index.cjs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3892,7 +3892,7 @@ var ImageBox = styled(FlexBox)(_templateObject$2(), function (props) {
38923892
});
38933893

38943894
function _templateObject$3() {
3895-
var data = _taggedTemplateLiteral(["\n flex-direction: column;\n max-width: 10rem;\n justify-content: center;\n margin-right: 1rem;\n position: relative;\n"]);
3895+
var data = _taggedTemplateLiteral(["\n flex-direction: column;\n width: auto;\n max-width: 9rem;\n justify-content: center;\n margin-right: 1rem;\n position: relative;\n"]);
38963896

38973897
_templateObject$3 = function _templateObject() {
38983898
return data;

dist/index.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3887,7 +3887,7 @@ var ImageBox = styled(FlexBox)(_templateObject$2(), function (props) {
38873887
});
38883888

38893889
function _templateObject$3() {
3890-
var data = _taggedTemplateLiteral(["\n flex-direction: column;\n max-width: 10rem;\n justify-content: center;\n margin-right: 1rem;\n position: relative;\n"]);
3890+
var data = _taggedTemplateLiteral(["\n flex-direction: column;\n width: auto;\n max-width: 9rem;\n justify-content: center;\n margin-right: 1rem;\n position: relative;\n"]);
38913891

38923892
_templateObject$3 = function _templateObject() {
38933893
return data;

src/__tests__/__snapshots__/MultiImageInput.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ exports[`renders correctly 1`] = `
77
class="sc-AxirZ sc-AxiKw cQXkMQ"
88
>
99
<div
10-
class="sc-AxirZ sc-AxhCb cMEKOH"
10+
class="sc-AxirZ sc-AxhCb ibDyVp"
1111
>
1212
<div
1313
role="button"

src/lib/components/ImageInput.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import FlexBox from './FlexBox';
33

44
const ImageInput = styled(FlexBox)`
55
flex-direction: column;
6-
max-width: 10rem;
6+
width: auto;
7+
max-width: 9rem;
78
justify-content: center;
89
margin-right: 1rem;
910
position: relative;

stats.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)