Fade buttons when disabled
This commit is contained in:
parent
cd76512619
commit
d1185da9eb
@ -38,7 +38,8 @@
|
|||||||
<button
|
<button
|
||||||
id="submit"
|
id="submit"
|
||||||
type="submit"
|
type="submit"
|
||||||
aria-label="Send message" />
|
aria-label="Send message"
|
||||||
|
:disabled="!this.$root.isConnected" />
|
||||||
</span>
|
</span>
|
||||||
</form>
|
</form>
|
||||||
</template>
|
</template>
|
||||||
|
@ -2029,6 +2029,11 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
|
|||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#form #upload[disabled],
|
||||||
|
#form #submit[disabled] {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
#context-menu-container {
|
#context-menu-container {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
Loading…
Reference in New Issue
Block a user