diff --git a/app/javascript/stylesheets/application/blocks/form/_form-item-block.sass b/app/javascript/stylesheets/application/blocks/form/_form-item-block.sass index 7a3e38226fa..e33d9fd6826 100644 --- a/app/javascript/stylesheets/application/blocks/form/_form-item-block.sass +++ b/app/javascript/stylesheets/application/blocks/form/_form-item-block.sass @@ -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) diff --git a/app/javascript/stylesheets/application/blocks/practice/_categories.sass b/app/javascript/stylesheets/application/blocks/practice/_categories.sass index d2a29f1abc1..27279abe917 100644 --- a/app/javascript/stylesheets/application/blocks/practice/_categories.sass +++ b/app/javascript/stylesheets/application/blocks/practice/_categories.sass @@ -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) diff --git a/app/javascript/stylesheets/application/blocks/practice/_category-practices-item.sass b/app/javascript/stylesheets/application/blocks/practice/_category-practices-item.sass index 7257c93cb8c..8d7167b025b 100644 --- a/app/javascript/stylesheets/application/blocks/practice/_category-practices-item.sass +++ b/app/javascript/stylesheets/application/blocks/practice/_category-practices-item.sass @@ -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 diff --git a/app/javascript/stylesheets/atoms/_a-button.sass b/app/javascript/stylesheets/atoms/_a-button.sass index d0f0fc7a01c..ba386161643 100644 --- a/app/javascript/stylesheets/atoms/_a-button.sass +++ b/app/javascript/stylesheets/atoms/_a-button.sass @@ -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) diff --git a/app/javascript/stylesheets/atoms/_a-meta.sass b/app/javascript/stylesheets/atoms/_a-meta.sass index 744800e138e..cce71ca97a8 100644 --- a/app/javascript/stylesheets/atoms/_a-meta.sass +++ b/app/javascript/stylesheets/atoms/_a-meta.sass @@ -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 diff --git a/app/javascript/stylesheets/not-logged-in/_completion.sass b/app/javascript/stylesheets/not-logged-in/_completion.sass index 293bd6b645b..7ba3ac5fb6f 100644 --- a/app/javascript/stylesheets/not-logged-in/_completion.sass +++ b/app/javascript/stylesheets/not-logged-in/_completion.sass @@ -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) diff --git a/app/javascript/stylesheets/not-logged-in/_unauthorized-header.sass b/app/javascript/stylesheets/not-logged-in/_unauthorized-header.sass index 8fc475b8473..6de15851e2a 100644 --- a/app/javascript/stylesheets/not-logged-in/_unauthorized-header.sass +++ b/app/javascript/stylesheets/not-logged-in/_unauthorized-header.sass @@ -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) diff --git a/app/javascript/stylesheets/shared/blocks/card/_congrats-card-body.sass b/app/javascript/stylesheets/shared/blocks/card/_congrats-card-body.sass index 93a744b95da..a99ed5cf4a9 100644 --- a/app/javascript/stylesheets/shared/blocks/card/_congrats-card-body.sass +++ b/app/javascript/stylesheets/shared/blocks/card/_congrats-card-body.sass @@ -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) diff --git a/app/javascript/textarea-initializer.js b/app/javascript/textarea-initializer.js index ec18649db7e..479057707c3 100644 --- a/app/javascript/textarea-initializer.js +++ b/app/javascript/textarea-initializer.js @@ -57,8 +57,8 @@ export default class { responseKey: 'url', csrfToken: CSRF.getToken(), placeholder: '%filenameをアップロード中...', - uploadImageTag: - '%filename\n', + //uploadImageTag: + // '%filename\n', afterPreview: () => { autosize.update(textarea)