forked from Kieran/snort
show more button
This commit is contained in:
parent
6a1430722d
commit
dbe7d6dc3a
@ -200,3 +200,16 @@
|
|||||||
.hidden-note button {
|
.hidden-note button {
|
||||||
max-height: 30px;
|
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()}
|
{transformBody()}
|
||||||
</div>
|
</div>
|
||||||
{extendable && !showMore && (<div className="flex f-center">
|
{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>)}
|
</div>)}
|
||||||
{options.showFooter ? <NoteFooter ev={ev} related={related} /> : null}
|
{options.showFooter ? <NoteFooter ev={ev} related={related} /> : null}
|
||||||
</>
|
</>
|
||||||
|
Loading…
Reference in New Issue
Block a user