mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-25 22:09:36 +02:00
Changed some messages and buttons to make it easier to open bookmarks editor
This commit is contained in:
parent
2ca90a18e1
commit
068c8ab2e7
10 changed files with 76 additions and 82 deletions
|
@ -1,29 +0,0 @@
|
|||
.TableActions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.TableAction {
|
||||
width: 22px;
|
||||
}
|
||||
|
||||
.TableAction:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.Message {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: baseline;
|
||||
color: var(--color-primary);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.Message a {
|
||||
color: var(--color-accent);
|
||||
}
|
||||
|
||||
.Message a:hover {
|
||||
cursor: pointer;
|
||||
}
|
|
@ -17,8 +17,7 @@ import { actionCreators } from '../../../store';
|
|||
import { App } from '../../../interfaces';
|
||||
|
||||
// Other
|
||||
import classes from './AppTable.module.css';
|
||||
import { Table } from '../../UI';
|
||||
import { Message, Table } from '../../UI';
|
||||
import { TableActions } from '../../Actions/TableActions';
|
||||
|
||||
interface Props {
|
||||
|
@ -89,7 +88,7 @@ export const AppTable = (props: Props): JSX.Element => {
|
|||
|
||||
return (
|
||||
<Fragment>
|
||||
<div className={classes.Message}>
|
||||
<Message isPrimary={false}>
|
||||
{config.useOrdering === 'orderId' ? (
|
||||
<p>You can drag and drop single rows to reorder application</p>
|
||||
) : (
|
||||
|
@ -98,7 +97,7 @@ export const AppTable = (props: Props): JSX.Element => {
|
|||
<Link to="/settings/interface">settings</Link>
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
</Message>
|
||||
|
||||
<DragDropContext onDragEnd={dragEndHanlder}>
|
||||
<Droppable droppableId="apps">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue