1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

fixed appearance for editor

This commit is contained in:
Fedor Katurov 2019-10-16 11:35:25 +07:00
parent bd5122f365
commit 09b68c19d2
5 changed files with 42 additions and 33 deletions

View file

@ -8,7 +8,7 @@
}
}
@include tablet {
@media (max-width: $content_width + ($bar_height + $gap) * 2) {
position: relative;
right: 0;
margin-left: $gap;

View file

@ -1,10 +1,9 @@
import React, { FC, ChangeEventHandler, DragEventHandler, useCallback, useMemo } from 'react';
import React, { FC, useMemo } from 'react';
import { connect } from 'react-redux';
import { INode } from '~/redux/types';
import * as UPLOAD_ACTIONS from '~/redux/uploads/actions';
import { selectUploads } from '~/redux/uploads/selectors';
import { ImageGrid } from '~/components/editors/ImageGrid';
import { IUploadStatus } from '~/redux/uploads/reducer';
const mapStateToProps = selectUploads;
const mapDispatchToProps = {

View file

@ -22,7 +22,7 @@ type IButtonProps = DetailedHTMLProps<
iconOnly?: boolean;
};
export const Button: FC<IButtonProps> = ({
const Button: FC<IButtonProps> = ({
className = '',
size = 'normal',
iconLeft,
@ -63,3 +63,5 @@ export const Button: FC<IButtonProps> = ({
iconRight && <Icon icon={iconRight} size={20} key={2} />,
]
);
export { Button };