mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-09 05:53:12 +08:00
Changed some messages and buttons to make it easier to open bookmarks editor
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user