Skip to content

Commit

Permalink
Merge pull request #7707 from fjordllc/main
Browse files Browse the repository at this point in the history
画像アップロードの追加機能を停止
  • Loading branch information
komagata authored Apr 18, 2024
2 parents 113db79 + 833aa37 commit 7c02745
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
background-color: var(--base)

.form-item-block__title
+text-block(.8125rem 1.5, block 600)
+text-block(.8125rem 1.4, block 600)

.form-item-block__item
&:not(:last-child)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
margin-bottom: 2rem

.categories-item__title
+text-block(1.5rem 1.5, 700)
+text-block(1.5rem 1.4, 700)
color: var(--main-text)
position: relative
+media-breakpoint-down(sm)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
margin-bottom: .5rem

.category-practices-item__title-link
+text-block(.875rem 1.5, flex)
+text-block(.875rem 1.4, flex)
color: var(--default-text)
align-items: center
min-height: 1.875rem
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/stylesheets/atoms/_a-button.sass
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
+button-size(.75rem, 1.25, 2rem)
&.is-md,
&.is-md input[type="submit"]
+button-size(.8125rem, 1.5, 2.25rem)
+button-size(.8125rem, 1.4, 2.25rem)
&.is-lg,
&.is-lg input[type="submit"]
+button-size(1rem, 1, 2.75rem)
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/stylesheets/atoms/_a-meta.sass
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.a-meta
+text-block(1em 1.5, flex)
+text-block(1em 1.4, flex)
color: var(--muted-text)
align-items: center
flex-wrap: wrap
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/stylesheets/not-logged-in/_completion.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
padding-block: 4rem 2rem

.completion__title
+text-block(1em 1.5, 800 center)
+text-block(1em 1.4, 800 center)
color: var(--reversal-text)
font-family: var(--sans-serif)
+media-breakpoint-up(md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
margin-bottom: .5rem

.unauthorized-header__title
+text-block(1em 1.5, 800 center)
+text-block(1em 1.4, 800 center)
color: var(--reversal-text)
font-family: var(--sans-serif)
+media-breakpoint-up(md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.congrats-card-body__title
+text-block(1.5rem 1.5, 700)
+text-block(1.5rem 1.4, 700)
+media-breakpoint-up(md)
font-size: 1.5rem
+media-breakpoint-down(sm)
Expand Down
4 changes: 2 additions & 2 deletions app/javascript/textarea-initializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export default class {
responseKey: 'url',
csrfToken: CSRF.getToken(),
placeholder: '%filenameをアップロード中...',
uploadImageTag:
'<img src=%url width="100" height="100" loading="lazy" decoding="async" alt="%filename">\n',
//uploadImageTag:
// '<img src=%url width="100" height="100" loading="lazy" decoding="async" alt="%filename">\n',
afterPreview: () => {
autosize.update(textarea)

Expand Down

0 comments on commit 7c02745

Please sign in to comment.