web/css: fix disabled button color

This commit is contained in:
Tulir Asokan 2024-10-30 23:06:24 +02:00
parent 5d2cc354f3
commit 8700626176
3 changed files with 6 additions and 1 deletions

View file

@ -160,6 +160,7 @@ button, a.button {
&:disabled { &:disabled {
cursor: default; cursor: default;
color: var(--secondary-text-color);
} }
&:hover:not(:disabled), &:focus:not(:disabled) { &:hover:not(:disabled), &:focus:not(:disabled) {

View file

@ -30,6 +30,10 @@ div.message-composer {
width: 2rem; width: 2rem;
padding: .25rem; padding: .25rem;
} }
> input[type="file"] {
display: none;
}
} }
> div.composer-media { > div.composer-media {

View file

@ -403,7 +403,7 @@ const MessageComposer = () => {
onClick={sendMessage} onClick={sendMessage}
disabled={(!state.text && !state.media) || loadingMedia} disabled={(!state.text && !state.media) || loadingMedia}
><SendIcon/></button> ><SendIcon/></button>
<input ref={fileInput} onChange={onAttachFile} type="file" value="" style={{ display: "none" }}/> <input ref={fileInput} onChange={onAttachFile} type="file" value=""/>
</div> </div>
</div> </div>
</> </>