forked from Mirrors/gomuks
web/{composer,timeline}: fix a couple loader colors (#561)
Signed-off-by: Sumner Evans <me@sumnerevans.com>
This commit is contained in:
parent
74842707b3
commit
bb26bc4e64
2 changed files with 4 additions and 2 deletions
|
@ -602,7 +602,7 @@ const MessageComposer = () => {
|
||||||
isThread={false}
|
isThread={false}
|
||||||
onClose={stopEditing}
|
onClose={stopEditing}
|
||||||
/>}
|
/>}
|
||||||
{loadingMedia && <div className="composer-media"><ScaleLoader/></div>}
|
{loadingMedia && <div className="composer-media"><ScaleLoader color="var(--primary-color)"/></div>}
|
||||||
{state.media && <ComposerMedia content={state.media} clearMedia={!disableClearMedia && clearMedia}/>}
|
{state.media && <ComposerMedia content={state.media} clearMedia={!disableClearMedia && clearMedia}/>}
|
||||||
{state.location && <ComposerLocation
|
{state.location && <ComposerLocation
|
||||||
room={room} client={client}
|
room={room} client={client}
|
||||||
|
|
|
@ -119,7 +119,9 @@ const TimelineView = () => {
|
||||||
return <div className="timeline-view" onScroll={handleScroll} ref={timelineViewRef}>
|
return <div className="timeline-view" onScroll={handleScroll} ref={timelineViewRef}>
|
||||||
<div className="timeline-beginning">
|
<div className="timeline-beginning">
|
||||||
{room.hasMoreHistory ? <button onClick={loadHistory} disabled={isLoadingHistory}>
|
{room.hasMoreHistory ? <button onClick={loadHistory} disabled={isLoadingHistory}>
|
||||||
{isLoadingHistory ? <><ScaleLoader /> Loading history...</> : "Load more history"}
|
{isLoadingHistory
|
||||||
|
? <><ScaleLoader color="var(--primary-color)"/> Loading history...</>
|
||||||
|
: "Load more history"}
|
||||||
</button> : "No more history available in this room"}
|
</button> : "No more history available in this room"}
|
||||||
</div>
|
</div>
|
||||||
<div className="timeline-list">
|
<div className="timeline-list">
|
||||||
|
|
Loading…
Add table
Reference in a new issue