mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-20 18:28:25 +02:00
Vertically Center Aligned createdBy, createdAt, lastModifiedBy and lastModifiedAt Properties (#1580)
* Vertically Center Aligned Dates. * Vertically Centered lastModifiedAt & lastModifiedBy Properties * Centered createdAt & createdBy Properties * Added newlines in sass files * Fixed createdBy alignment * fix linting Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Hossein Ahmadian-Yazdi <hyazdi1997@gmail.com>
This commit is contained in:
parent
ccf4dc6c23
commit
63ff9a7de5
@ -0,0 +1,4 @@
|
||||
.CreatedAt {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
@ -6,6 +6,7 @@ import React from 'react'
|
||||
import {useIntl} from 'react-intl'
|
||||
|
||||
import {Utils} from '../../../utils'
|
||||
import './createdAt.scss'
|
||||
|
||||
type Props = {
|
||||
createAt: number
|
||||
|
@ -0,0 +1,4 @@
|
||||
.LastModifiedAt {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
@ -10,6 +10,7 @@ import {Block} from '../../../blocks/block'
|
||||
import {ContentBlock} from '../../../blocks/contentBlock'
|
||||
import {CommentBlock} from '../../../blocks/commentBlock'
|
||||
import {Utils} from '../../../utils'
|
||||
import './lastModifiedAt.scss'
|
||||
|
||||
type Props = {
|
||||
card: Card,
|
||||
|
@ -0,0 +1,4 @@
|
||||
.LastModifiedBy {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
@ -11,6 +11,7 @@ import {Board} from '../../../blocks/board'
|
||||
import {Block} from '../../../blocks/block'
|
||||
import {getWorkspaceUsers} from '../../../store/users'
|
||||
import {useAppSelector} from '../../../store/hooks'
|
||||
import './lastModifiedBy.scss'
|
||||
|
||||
type Props = {
|
||||
card: Card,
|
||||
|
@ -1,6 +1,8 @@
|
||||
.UserProperty {
|
||||
margin-right: 20px;
|
||||
min-width: 120px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
&.readonly {
|
||||
overflow: hidden;
|
||||
|
Loading…
x
Reference in New Issue
Block a user