Skip to content

Commit 8d13063

Browse files
committed
Set QR margin to 0
1 parent e11f6f1 commit 8d13063

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/news-feed/news-feed.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ function NewsFeed({ slide, content, run, slideDone, executionId }) {
6161
setQr(null);
6262
} else {
6363
QRCode.toDataURL(currentPost.link, {
64+
margin: 0,
6465
color: {
6566
dark: "#000000",
6667
light: "#ffffff00",
@@ -191,11 +192,11 @@ NewsFeed.propTypes = {
191192
medias: PropTypes.arrayOf(
192193
PropTypes.shape({
193194
url: PropTypes.string,
194-
})
195+
}),
195196
),
196197
lastModified: PropTypes.string,
197198
link: PropTypes.string,
198-
})
199+
}),
199200
),
200201
}).isRequired,
201202
mediaData: PropTypes.shape({

src/news-feed/news-feed.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@
8686
justify-content: end;
8787

8888
.qr {
89-
width: 20%;
90-
margin-bottom: 2%;
89+
width: 15%;
90+
margin-bottom: 5%;
9191
}
9292

9393
.read-more {

0 commit comments

Comments
 (0)