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