show more button
This commit is contained in:
parent
6a1430722d
commit
dbe7d6dc3a
@ -200,3 +200,16 @@
|
||||
.hidden-note button {
|
||||
max-height: 30px;
|
||||
}
|
||||
|
||||
.show-more {
|
||||
background: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-weight: 400;
|
||||
color: var(--highlight);
|
||||
}
|
||||
|
||||
.show-more:hover {
|
||||
background: none;
|
||||
color: var(--highlight);
|
||||
}
|
||||
|
@ -179,7 +179,7 @@ export default function Note(props: NoteProps) {
|
||||
{transformBody()}
|
||||
</div>
|
||||
{extendable && !showMore && (<div className="flex f-center">
|
||||
<button className="btn mt10" onClick={() => setShowMore(true)}>Show more</button>
|
||||
<button className="show-more" onClick={() => setShowMore(true)}>Show more</button>
|
||||
</div>)}
|
||||
{options.showFooter ? <NoteFooter ev={ev} related={related} /> : null}
|
||||
</>
|
||||
|
Loading…
x
Reference in New Issue
Block a user