File tree Expand file tree Collapse file tree
hwproj.front/src/components/Courses Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ export const CourseExperimental: FC<ICourseExperimentalProps> = (props) => {
108108 }
109109
110110 const getStyle = ( itemIsHomework : boolean , itemId : number ) =>
111- itemIsHomework === isHomework && itemId === id ? clickedItemStyle : { }
111+ itemIsHomework === isHomework && itemId === id ? clickedItemStyle : { borderRadius : 9 }
112112
113113 const taskSolutionsMap = new Map < number , Solution [ ] > ( )
114114
@@ -378,7 +378,10 @@ export const CourseExperimental: FC<ICourseExperimentalProps> = (props) => {
378378 + Добавить задание
379379 </ Button > }
380380 { homeworks . map ( ( x : HomeworkViewModel & { isModified ?: boolean , hasErrors ?: boolean } ) => {
381- return < div key = { x . id } >
381+ return < div key = { x . id } style = { x . id ! < 0 ? {
382+ border : "1px solid #3f51b5" ,
383+ borderRadius : 9 ,
384+ } : undefined } >
382385 < Paper
383386 key = { x . id }
384387 elevation = { 0 }
You can’t perform that action at this time.
0 commit comments