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:
parent
5cf3d22466
commit
b23c136cbe
5 changed files with 75 additions and 5 deletions
|
@ -19,6 +19,8 @@
|
|||
.buttons {
|
||||
@include outer_shadow();
|
||||
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
background: transparentize(black, 0.8);
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -4,5 +4,4 @@
|
|||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
height: 32px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue