Replaced green selected interested button with text
This commit is contained in:
parent
3f76b59ede
commit
05565f5c74
|
@ -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'
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user