1
0
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:
Rakshit Arora 2021-11-09 18:53:09 +05:30 committed by GitHub
parent ccf4dc6c23
commit 63ff9a7de5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,4 @@
.CreatedAt {
display: flex;
align-items: center;
}

View File

@ -6,6 +6,7 @@ import React from 'react'
import {useIntl} from 'react-intl'
import {Utils} from '../../../utils'
import './createdAt.scss'
type Props = {
createAt: number

View File

@ -0,0 +1,4 @@
.LastModifiedAt {
display: flex;
align-items: center;
}

View File

@ -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,

View File

@ -0,0 +1,4 @@
.LastModifiedBy {
display: flex;
align-items: center;
}

View File

@ -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,

View File

@ -1,6 +1,8 @@
.UserProperty {
margin-right: 20px;
min-width: 120px;
display: flex;
align-items: center;
&.readonly {
overflow: hidden;