mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix cursor on disabled composer
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
</div>
|
||||
|
||||
<div class='d-editor-container'>
|
||||
<div class="d-editor-textarea-wrapper">
|
||||
<div class='d-editor-button-bar {{if disabled "disabled"}}'>
|
||||
<div class="d-editor-textarea-wrapper {{if disabled "disabled"}}">
|
||||
<div class='d-editor-button-bar'>
|
||||
{{#each toolbar.groups as |group|}}
|
||||
{{#each group.buttons as |b|}}
|
||||
{{#if b.popupMenu}}
|
||||
|
||||
@@ -57,6 +57,12 @@
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
cursor: not-allowed;
|
||||
.d-editor-button-bar {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.d-editor-preview-wrapper {
|
||||
@@ -90,11 +96,6 @@
|
||||
.btn.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
visibility: hidden;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
|
||||
.d-editor-spacer {
|
||||
|
||||
Reference in New Issue
Block a user