File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -284,21 +284,27 @@ const Overview = ({
284284 < Callout target = { minerInfoRef . current } hidden = { ! displayMinerInfo } onDismiss = { hideMinerInfo } gapSpace = { 0 } >
285285 < Stack tokens = { { padding : 15 } } >
286286 { defaultAddress ? (
287- < Stack tokens = { { childrenGap : 15 } } >
287+ < Stack tokens = { { childrenGap : 15 } } styles = { { root : { padding : 5 } } } >
288288 < Stack tokens = { { childrenGap : 15 } } >
289- < Text variant = "medium" > { t ( 'overview.address' ) } </ Text >
289+ < Text variant = "small" style = { { fontWeight : 600 } } >
290+ { t ( 'overview.address' ) }
291+ </ Text >
290292 < Text variant = "small" className = "fixedWidth" >
291293 { defaultAddress . address }
292294 </ Text >
293295 </ Stack >
294296 < Stack tokens = { { childrenGap : 15 } } >
295- < Text variant = "medium" > { t ( 'overview.code-hash' ) } </ Text >
297+ < Text variant = "small" style = { { fontWeight : 600 } } >
298+ { t ( 'overview.code-hash' ) }
299+ </ Text >
296300 < Text variant = "small" className = "fixedWidth" >
297301 { codeHash }
298302 </ Text >
299303 </ Stack >
300304 < Stack tokens = { { childrenGap : 15 } } >
301- < Text variant = "medium" > { t ( 'overview.lock-arg' ) } </ Text >
305+ < Text variant = "small" style = { { fontWeight : 600 } } >
306+ { t ( 'overview.lock-arg' ) }
307+ </ Text >
302308 < Text variant = "small" className = "fixedWidth" >
303309 { defaultAddress . identifier }
304310 </ Text >
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ registerIcons({
5353 info : < InfoIcon size = "16px" /> ,
5454 errorbadge : < AlertIcon size = "16px" /> ,
5555 completed : < SuccessIcon size = "16px" /> ,
56- MiniCopy : < CopyIcon size = "small" /> ,
56+ MiniCopy : < CopyIcon size = "small" color = { semanticColors . primaryButtonBackground } /> ,
5757 Search : < SearchIcon size = "16px" color = { semanticColors . menuIcon } /> ,
5858 FirstPage : < LinkTopIcon size = "16px" color = { semanticColors . menuIcon } style = { { transform : 'rotate(-90deg)' } } /> ,
5959 LastPage : < LinkBottomIcon size = "16px" color = { semanticColors . menuIcon } style = { { transform : 'rotate(-90deg)' } } /> ,
Original file line number Diff line number Diff line change 11import React from 'react'
2- import { List } from 'office-ui-fabric-react'
2+ import { List , getTheme } from 'office-ui-fabric-react'
33import styles from './PropertyList.module.scss'
44
5+ const theme = getTheme ( )
6+
57export interface Property {
68 label : string
79 value : string | number | Element | React . ReactNode
@@ -18,15 +20,15 @@ const onRenderCell = (item?: Property & CellStyles) =>
1820 < div className = { styles . propertyCell } style = { { height : item . height || 'auto' } } aria-label = "property" >
1921 < span
2022 className = { styles . label }
21- style = { { width : item . labelWidth || 'auto' } }
23+ style = { { width : item . labelWidth || 'auto' , fontWeight : 600 , fontSize : theme . fonts . small . fontSize } }
2224 title = { item . label }
2325 aria-label = { item . label }
2426 >
2527 { item . label }
2628 </ span >
2729 < span
2830 className = { styles . value }
29- style = { { width : item . valueWidth || 'auto' } }
31+ style = { { width : item . valueWidth || 'auto' , fontSize : theme . fonts . small . fontSize } }
3032 title = { `${ item . value } ` }
3133 aria-label = { item . label }
3234 >
You can’t perform that action at this time.
0 commit comments