mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 22:31:20 +00:00
Changing location of sub and superscript buttons.
This commit is contained in:
parent
662efbcb68
commit
f93f2fe03c
1 changed files with 18 additions and 18 deletions
36
ui/src/components/markdown-textarea.tsx
vendored
36
ui/src/components/markdown-textarea.tsx
vendored
|
@ -187,24 +187,6 @@ export class MarkdownTextArea extends Component<
|
||||||
<use xlinkHref="#icon-italic"></use>
|
<use xlinkHref="#icon-italic"></use>
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
<button
|
|
||||||
class="btn btn-sm text-muted"
|
|
||||||
data-tippy-content={i18n.t('subscript')}
|
|
||||||
onClick={linkEvent(this, this.handleInsertSubscript)}
|
|
||||||
>
|
|
||||||
<svg class="icon icon-inline">
|
|
||||||
<use xlinkHref="#icon-subscript"></use>
|
|
||||||
</svg>
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
class="btn btn-sm text-muted"
|
|
||||||
data-tippy-content={i18n.t('superscript')}
|
|
||||||
onClick={linkEvent(this, this.handleInsertSuperscript)}
|
|
||||||
>
|
|
||||||
<svg class="icon icon-inline">
|
|
||||||
<use xlinkHref="#icon-superscript"></use>
|
|
||||||
</svg>
|
|
||||||
</button>
|
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm text-muted"
|
class="btn btn-sm text-muted"
|
||||||
data-tippy-content={i18n.t('link')}
|
data-tippy-content={i18n.t('link')}
|
||||||
|
@ -285,6 +267,24 @@ export class MarkdownTextArea extends Component<
|
||||||
<use xlinkHref="#icon-code"></use>
|
<use xlinkHref="#icon-code"></use>
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
|
<button
|
||||||
|
class="btn btn-sm text-muted"
|
||||||
|
data-tippy-content={i18n.t('subscript')}
|
||||||
|
onClick={linkEvent(this, this.handleInsertSubscript)}
|
||||||
|
>
|
||||||
|
<svg class="icon icon-inline">
|
||||||
|
<use xlinkHref="#icon-subscript"></use>
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
class="btn btn-sm text-muted"
|
||||||
|
data-tippy-content={i18n.t('superscript')}
|
||||||
|
onClick={linkEvent(this, this.handleInsertSuperscript)}
|
||||||
|
>
|
||||||
|
<svg class="icon icon-inline">
|
||||||
|
<use xlinkHref="#icon-superscript"></use>
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
<button
|
<button
|
||||||
class="btn btn-sm text-muted"
|
class="btn btn-sm text-muted"
|
||||||
data-tippy-content={i18n.t('spoiler')}
|
data-tippy-content={i18n.t('spoiler')}
|
||||||
|
|
Loading…
Reference in a new issue