From d49849ba4f3ab99ccc2d7ece89f4f44387607764 Mon Sep 17 00:00:00 2001 From: Ed Date: Mon, 30 Dec 2024 16:41:14 +0900 Subject: [PATCH] Add `text-align: left` style to `Banner` component (#2577) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Self Checklist - [x] I wrote a PR title in **English** and added an appropriate **label** to the PR. - [x] I wrote the commit message in **English** and to follow [**the Conventional Commits specification**](https://www.conventionalcommits.org/en/v1.0.0/). - [x] I [added the **changeset**](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md) about the changes that needed to be released. (or didn't have to) - [x] I wrote or updated **documentation** related to the changes. (or didn't have to) - [x] I wrote or updated **tests** related to the changes. (or didn't have to) - [x] I tested the changes in various browsers. (or didn't have to) - Windows: Chrome, Edge, (Optional) Firefox - macOS: Chrome, Edge, Safari, (Optional) Firefox ## Related Issue ## Summary Add `text-align: left` style to `Banner` component ## Details 사용처 부모 요소의 텍스트 정렬 속성이 의도치 않게 오버라이드되지 않도록 기본 스타일 속성을 추가합니다. ### Breaking change? (Yes/No) No ## References --- .changeset/sharp-tools-approve.md | 5 +++++ .../bezier-react/src/components/Banner/Banner.module.scss | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/sharp-tools-approve.md diff --git a/.changeset/sharp-tools-approve.md b/.changeset/sharp-tools-approve.md new file mode 100644 index 0000000000..6905adec7a --- /dev/null +++ b/.changeset/sharp-tools-approve.md @@ -0,0 +1,5 @@ +--- +'@channel.io/bezier-react': patch +--- + +Add `text-align: left` style to `Banner` component. diff --git a/packages/bezier-react/src/components/Banner/Banner.module.scss b/packages/bezier-react/src/components/Banner/Banner.module.scss index f7b0667941..a48914b424 100644 --- a/packages/bezier-react/src/components/Banner/Banner.module.scss +++ b/packages/bezier-react/src/components/Banner/Banner.module.scss @@ -7,6 +7,8 @@ min-width: 200px; padding: 12px; + text-align: left; + border-radius: var(--radius-12); &:where(.variant-default) {