Skip to content

Commit 06b33b8

Browse files
fix styles for single-card (Angular, Vue)
1 parent 50df50f commit 06b33b8

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

packages/devextreme-cli/src/templates/vue-v3/application/src/layouts/single-card.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ export default {
4646
height: 100%;
4747
4848
.dx-card {
49-
width: 330px;
49+
width: 360px;
5050
margin: auto auto;
51-
padding: 40px;
51+
padding: 24px;
5252
flex-grow: 0;
53+
border-radius: 8px;
5354
5455
.screen-x-small & {
5556
width: 100%;
@@ -62,11 +63,12 @@ export default {
6263
}
6364
6465
.header {
65-
margin-bottom: 30px;
66+
margin: 24px 0;
6667
6768
.title {
6869
color: var(--base-text-color);
69-
line-height: 28px;
70+
text-align: center;
71+
line-height: 24px;
7072
font-weight: 500;
7173
font-size: 24px;
7274
}

packages/devextreme-schematics/src/add-layout/files/src/app/layouts/single-card/single-card.component.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55

66
.single-card {
77
.dx-card {
8-
width: 330px;
8+
width: 360px;
99
margin: auto auto;
10-
padding: 40px;
10+
padding: 24px;
1111
flex-grow: 0;
12+
border-radius: 8px;
1213

1314
:host-context(.screen-x-small) & {
1415
width: 100%;
@@ -21,13 +22,14 @@
2122
}
2223

2324
.header {
24-
margin-bottom: 30px;
25+
margin: 24px 0;
2526

2627
.title {
2728
color: var(--base-text-color);
28-
line-height: 28px;
2929
font-weight: 500;
3030
font-size: 24px;
31+
text-align: center;
32+
line-height: 24px;
3133
}
3234

3335
.description {

0 commit comments

Comments
 (0)