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

added button tooltips

This commit is contained in:
Fedor Katurov 2021-02-26 15:36:05 +07:00
parent 5cf3d22466
commit b23c136cbe
5 changed files with 75 additions and 5 deletions

View file

@ -19,6 +19,8 @@
.buttons {
@include outer_shadow();
position: relative;
z-index: 1;
display: flex;
flex-direction: row;
background: transparentize(black, 0.8);

View file

@ -24,6 +24,7 @@ const CommentFormFormatButtons: FC<IProps> = ({ element, handler }) => {
color="gray"
iconOnly
type="button"
label="Жирный"
/>
<Button
@ -33,6 +34,7 @@ const CommentFormFormatButtons: FC<IProps> = ({ element, handler }) => {
color="gray"
iconOnly
type="button"
label="Наклонный"
/>
<Button
@ -42,6 +44,7 @@ const CommentFormFormatButtons: FC<IProps> = ({ element, handler }) => {
color="gray"
iconOnly
type="button"
label="Заголовок"
/>
<Button
@ -51,7 +54,19 @@ const CommentFormFormatButtons: FC<IProps> = ({ element, handler }) => {
color="gray"
iconOnly
type="button"
label="Ссылка"
/>
<Button
onClick={wrap('// ')}
size="small"
color="gray"
iconOnly
type="button"
label="Коммент"
>
{`/ /`}
</Button>
</ButtonGroup>
);
};

View file

@ -4,5 +4,4 @@
display: flex;
flex-wrap: wrap;
height: 32px;
overflow: hidden;
}