Skip to content

Commit a6b023f

Browse files
committed
tul hosszu title leturja gombokat
1 parent a409ebb commit a6b023f

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

apps/sensenet/src/components/view-controls/common/view-title.tsx

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ interface ViewTitleProps {
2020
const useStyles = makeStyles((theme) => {
2121
return createStyles({
2222
title: {
23-
height: '68px',
2423
fontSize: '20px',
25-
flexShrink: 0,
26-
flexDirection: 'column',
27-
flexWrap: 'nowrap',
2824
borderBottom: theme.palette.type === 'light' ? '1px solid #DBDBDB' : '1px solid rgba(255, 255, 255, 0.11)',
25+
display: 'flex',
26+
flexDirection: 'column',
2927
},
3028
textBolder: {
3129
fontWeight: 500,
30+
textAlign: 'center',
3231
},
3332
actionBar: {
3433
display: 'flex',
34+
marginBottom: '6px',
3535
},
3636
typeinfo: {
3737
fontSize: '12px',
@@ -40,12 +40,10 @@ const useStyles = makeStyles((theme) => {
4040
},
4141
actionText: {
4242
marginRight: '5px',
43+
textAlign: 'center',
4344
},
4445
viewTitle: {
45-
'& span': {
46-
display: 'inline-block',
47-
verticalAlign: 'middle',
48-
},
46+
padding: '6px',
4947
},
5048
})
5149
})

0 commit comments

Comments
 (0)