Replaced green selected interested button with text

This commit is contained in:
Tanner Collin 2023-08-14 22:40:12 +00:00
parent 3f76b59ede
commit 05565f5c74
2 changed files with 16 additions and 5 deletions

View File

@ -142,12 +142,11 @@ function NewClassTableCourse(props) {
{user &&
<div className='interest'>
{user.interests.filter(x => !x.satisfied_by).map(x => x.course).includes(course.id) ?
<Button
size='tiny'
color='green'
<div
className='nonbutton'
>
{interested} interested
</Button>
{interested} interested
</div>
:
<Button
size='tiny'

View File

@ -175,6 +175,18 @@ a {
padding-right: 0.5rem;
}
.interest .nonbutton {
padding-left: 0.5rem;
padding-right: 0.5rem;
font-size: 0.85714286rem;
display: inline-block;
min-height: 1em;
font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;
margin: 0 .25em 0 0;
padding-top: 0.785714em;
padding-bottom: 0.785714em;
}
.ui.button.storage-button {
padding-left: 0.5rem;
padding-right: 0.5rem;