-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* UI/UX improvements to Program #693 * Disable "Legg til" button in "Legg til prosjekt" if none are selected #693 * Fixed height (750px) for "Legg til prosjekt" dialog #693 * Make the "Project" column in "OverordnetLeveranser" page clickable, to keep the UX consistent with "OverordnetGevinster" and "OverordnetUsikkerheter" pages. * ProgramAdministrationInfoMessage * TooltipHeader
- Loading branch information
Showing
16 changed files
with
116 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
{ | ||
"recommendations": [ | ||
"msjsdiag.debugger-for-chrome" | ||
] | ||
"recommendations": [] | ||
} |
13 changes: 13 additions & 0 deletions
13
...bParts/src/components/ProgramAdministration/AddProjectDialog/AddProjectDialog.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
@import "~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss"; | ||
|
||
.root { | ||
.scrollableContent { | ||
height: 750px; | ||
overflow: hidden; | ||
} | ||
} | ||
|
||
.dialogContent { | ||
margin-top: 20px; | ||
box-sizing: border-box; | ||
} |
41 changes: 27 additions & 14 deletions
41
...Framework/ProgramWebParts/src/components/ProgramAdministration/AddProjectDialog/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
|
||
.root { | ||
.scroll { | ||
max-height: 800px; | ||
overflow-y: auto; | ||
|
||
.list { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...PointFramework/ProgramWebParts/src/components/ProgramAdministration/ProjectTable/types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...gramWebParts/src/components/ProgramAdministration/TooltipHeader/TooltipHeader.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@import "~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss"; | ||
|
||
.root { | ||
padding-bottom: 20px; | ||
|
||
.title { | ||
font-size: 28px; | ||
font-weight: 100; | ||
margin: 0; | ||
overflow: hidden; | ||
white-space: nowrap; | ||
text-overflow: ellipsis; | ||
|
||
.icon { | ||
font-size: 18px; | ||
margin: 0 0 0 6px; | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...intFramework/ProgramWebParts/src/components/ProgramAdministration/TooltipHeader/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Icon, TooltipHost } from '@fluentui/react' | ||
import * as strings from 'ProgramWebPartsStrings' | ||
import React, { FC, useContext } from 'react' | ||
import { ProgramAdministrationContext } from '../context' | ||
import styles from './TooltipHeader.module.scss' | ||
|
||
export const TooltipHeader: FC = () => { | ||
const context = useContext(ProgramAdministrationContext) | ||
return ( | ||
<div className={styles.root}> | ||
<div className={styles.title}> | ||
<TooltipHost content={<div><p>{strings.ProgramAdministrationInfoMessage}</p></div>}> | ||
<span>{context.props.title}</span> | ||
<Icon iconName='Info' className={styles.icon} /> | ||
</TooltipHost> | ||
</div> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.