Skip to content

Commit fe799c5

Browse files
authored
fix: Row and box styled with common CSS class row and box , changed to be more specific (#109)
fix: Row and box styled with common CSS class `row` and `box` , changed to be more specific (#109) Signed-off-by: Remington Breeze <[email protected]>
1 parent a6c1d37 commit fe799c5

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

v2/components/box/box.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import '../../styles/colors.scss';
22

3-
.box {
3+
.argo-box {
44
border: 1px solid $argo-color-gray-4;
55
border-radius: 5px;
66
padding: 20px;

v2/components/box/box.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {ThemeDiv} from '../theme-div/theme-div';
55
import './box.scss';
66

77
export const Box = (props: {children: React.ReactNode}) => {
8-
return <ThemeDiv className='box'>{props.children}</ThemeDiv>;
8+
return <ThemeDiv className='argo-box'>{props.children}</ThemeDiv>;
99
};
1010

1111
export const BoxTitle = (props: {children: React.ReactNode}) => {
12-
return <ThemeDiv className='box__title'>{props.children}</ThemeDiv>;
12+
return <ThemeDiv className='argo-box__title'>{props.children}</ThemeDiv>;
1313
};

v2/components/row/row.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
.row {
1+
.argo-row {
22
display: flex;
33
width: 100%;
44
margin-bottom: 1.5em;
55
justify-content: center;
66

7-
.box {
7+
.argo-box {
88
height: auto;
99
width: 400px;
1010
margin-right: 15px;

v2/components/row/row.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ import {ThemeDiv} from '../theme-div/theme-div';
44

55
import './row.scss';
66

7-
export const CenteredRow = (props: {children: React.ReactNode}) => <ThemeDiv className='row'>{props.children}</ThemeDiv>;
7+
export const CenteredRow = (props: {children: React.ReactNode}) => <ThemeDiv className='argo-row'>{props.children}</ThemeDiv>;

v2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "argo-ux",
3-
"version": "1.1.12",
3+
"version": "1.1.13",
44
"main": "index.js",
55
"license": "MIT",
66
"dependencies": {

0 commit comments

Comments
 (0)