Skip to content

Commit 7110406

Browse files
author
Stefano Malagò
committed
Removed disabled note button as not implemented and breaking layout
1 parent 029d5ef commit 7110406

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

frontend/src/components/v2/TaggingUI.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,13 @@ function TaggingUI({taggingSession, dispatchTaggingSession, taggingClusterSessio
169169
<Grid container direction={'row'} className={classes.taggingMiscBlock} spacing={2}
170170
component={Paper}
171171
style={{backgroundColor: LIGHT_GREY}}>
172-
<Grid item xs={6}>
172+
<Grid item xs={8}>
173173
<ClusterView
174174
taggingClusterSession={taggingClusterSession}
175175
dispatchTaggingClusterSession={dispatchTaggingClusterSession}
176176
/>
177177
</Grid>
178-
<Grid item xs={6}>
178+
<Grid item xs={4}>
179179
<TagView
180180
misconceptionsAvailable={data}
181181
taggingClusterSession={taggingClusterSession}

frontend/src/components/v2/tagger_component/MisconceptionView.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
} from "../../../model/TaggingClusterSessionDispatch";
2323
import MisconceptionColorButton from "../../tagger_component/MisconceptionColorButton";
2424
import MisconceptionInfoButton from "../../tagger_component/MisconceptionInfoButton";
25-
import MisconceptionNoteButton from "../../tagger_component/MisconceptionNoteButton";
2625
import stringEquals from "../../../util/StringEquals";
2726

2827

@@ -135,7 +134,6 @@ function MisconceptionView(
135134
tags={tags}
136135
handled_element={FIRST_DYNAMIC_INDEX}
137136
/>
138-
<MisconceptionNoteButton/>
139137
</div>
140138
{
141139
[...Array(Math.max(tags.length - PRE_DYNAMIC_SIZE - 2, 0))]
@@ -165,7 +163,6 @@ function MisconceptionView(
165163
tags={tags}
166164
handled_element={handled_element}
167165
/>
168-
<MisconceptionNoteButton/>
169166
</div>)
170167
}
171168
)

0 commit comments

Comments
 (0)