Skip to content

Commit

Permalink
Change layout width to 600px (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
fathomer authored Oct 29, 2023
1 parent 1f0c493 commit 3bd352d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions frontend/src/util/layouts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const layouts = {
.container {
font-family:customFont, Arial, Helvetica, sans-serif;
padding: 40px 20px;
width: 600px;
min-width: 600px;
background-color: ${template.theme.bg_color};
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 5px;
Expand Down Expand Up @@ -55,7 +55,7 @@ const layouts = {
display:inline-block;
font-family:customFont,Arial,Helvetica,sans-serif;
margin:1em;
width:600px;
min-width:600px;
${template.animation.animation};
}
${template.animation.keyframes}
Expand Down Expand Up @@ -113,8 +113,8 @@ const layouts = {
style: (template) => {
return `#ct{
height:auto;
width:600px;
margin: 20px 50px 20px 10px;
min-width:600px;
margin: 20px;
text-align:center;
font-family:customFont,Arial,Helvetica,sans-serif;
position:relative;
Expand Down Expand Up @@ -230,7 +230,7 @@ const layouts = {
return `.quote {
display: inline-block;
margin: 1em;
width:600px;
min-width:600px;
font-family:customFont,Arial,Helvetica,sans-serif;
${template.animation.animation};
}
Expand Down
2 changes: 1 addition & 1 deletion src/api/controllers/quotesController.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const quoteController = async (req, res, next) => {
res.send(svgResponse);

} catch (error) {
console.log(error);
console.error(error);
res.send({
name: error.name,
message: error.message,
Expand Down
10 changes: 5 additions & 5 deletions src/layouts/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const layouts = {
.container {
font-family:customFont,Arial,Helvetica,sans-serif;
padding: 40px 20px;
width: 600px;
min-width: 600px;
background: ${template.theme.bg_color};
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 5px;
Expand Down Expand Up @@ -56,7 +56,7 @@ const layouts = {
display:inline-block;
font-family:customFont,Arial,Helvetica,sans-serif;
margin:1em;
width:600px;
min-width:600px;
${template.animation.animation};
}
${template.animation.keyframes}
Expand Down Expand Up @@ -120,8 +120,8 @@ const layouts = {
.main-container {
position: relative;
width: 600px;
margin: 20px 50px 20px 10px;
min-width: 600px;
margin: 20px;
display: inline-block;
text-align: center;
font-family:customFont,Arial,Helvetica,sans-serif;
Expand Down Expand Up @@ -243,7 +243,7 @@ const layouts = {
position: relative;
display: inline-block;
margin: 1em;
width:600px;
min-width:600px;
font-family:customFont,Arial,Helvetica,sans-serif;
position: relative;
${template.animation.animation};
Expand Down

0 comments on commit 3bd352d

Please sign in to comment.