mirror of
https://github.com/mattermost/focalboard.git
synced 2025-02-07 19:30:18 +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 {useIntl} from 'react-intl'
|
||||||
|
|
||||||
import {Utils} from '../../../utils'
|
import {Utils} from '../../../utils'
|
||||||
|
import './createdAt.scss'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
createAt: number
|
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 {ContentBlock} from '../../../blocks/contentBlock'
|
||||||
import {CommentBlock} from '../../../blocks/commentBlock'
|
import {CommentBlock} from '../../../blocks/commentBlock'
|
||||||
import {Utils} from '../../../utils'
|
import {Utils} from '../../../utils'
|
||||||
|
import './lastModifiedAt.scss'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
card: Card,
|
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 {Block} from '../../../blocks/block'
|
||||||
import {getWorkspaceUsers} from '../../../store/users'
|
import {getWorkspaceUsers} from '../../../store/users'
|
||||||
import {useAppSelector} from '../../../store/hooks'
|
import {useAppSelector} from '../../../store/hooks'
|
||||||
|
import './lastModifiedBy.scss'
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
card: Card,
|
card: Card,
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
.UserProperty {
|
.UserProperty {
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
min-width: 120px;
|
min-width: 120px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
&.readonly {
|
&.readonly {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user