mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-09 13:51:57 -04:00
fix(frontend): use "action" prop in revisions list
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
7fb02c96e6
commit
eac2a7b23e
3 changed files with 3 additions and 3 deletions
|
@ -114,6 +114,7 @@ $progress-bg: $gray-700;
|
||||||
$list-group-bg: $gray-800;
|
$list-group-bg: $gray-800;
|
||||||
$list-group-border-color: $gray-700;
|
$list-group-border-color: $gray-700;
|
||||||
$list-group-hover-bg: $gray-700;
|
$list-group-hover-bg: $gray-700;
|
||||||
|
$list-group-action-hover-color: $white;
|
||||||
|
|
||||||
// Breadcrumbs
|
// Breadcrumbs
|
||||||
$breadcrumb-bg: $gray-700;
|
$breadcrumb-bg: $gray-700;
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.revision-item {
|
.revision-item {
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
span > img {
|
span > img {
|
||||||
height: 1.25rem;
|
height: 1.25rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,7 +54,8 @@ export const RevisionListEntry: React.FC<RevisionListEntryProps> = ({ active, on
|
||||||
<ListGroup.Item
|
<ListGroup.Item
|
||||||
active={active}
|
active={active}
|
||||||
onClick={onSelect}
|
onClick={onSelect}
|
||||||
className={`user-select-none ${styles['revision-item']} d-flex flex-column`}>
|
action
|
||||||
|
className={`${styles['revision-item']} d-flex flex-column`}>
|
||||||
<span>
|
<span>
|
||||||
<ForkAwesomeIcon icon={'clock-o'} className='mx-2' />
|
<ForkAwesomeIcon icon={'clock-o'} className='mx-2' />
|
||||||
{revisionCreationTime}
|
{revisionCreationTime}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue