Better alignment for SVG Icons in text.
(or when all you have is a hammer, everything looks like a nail).
This commit is contained in:
parent
6d8e01b476
commit
6fcf2a88c0
@ -222,13 +222,14 @@ export function AllImagesView(vm, params) {
|
|||||||
'label',
|
'label',
|
||||||
{
|
{
|
||||||
for: 'uploadButton',
|
for: 'uploadButton',
|
||||||
style: Object.assign({ verticalAlign: 'top', margin: '0px 3px' }, CLICKABLE)
|
style: Object.assign({ margin: '0px 3px' }, CLICKABLE)
|
||||||
},
|
},
|
||||||
[
|
[
|
||||||
Icon({
|
Icon({
|
||||||
name: 'upload',
|
name: 'upload',
|
||||||
size: 0.75,
|
size: 0.75,
|
||||||
title: 'Upload'
|
title: 'Upload',
|
||||||
|
style: { verticalAlign: 'middle' }
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
|||||||
@ -30,7 +30,8 @@ export function AppBar(params) {
|
|||||||
Object.assign(
|
Object.assign(
|
||||||
{
|
{
|
||||||
name: up.button || 'arrow_left',
|
name: up.button || 'arrow_left',
|
||||||
size: 0.75
|
size: 0.75,
|
||||||
|
style: { verticalAlign: 'middle' }
|
||||||
},
|
},
|
||||||
upProps
|
upProps
|
||||||
)
|
)
|
||||||
|
|||||||
@ -151,7 +151,8 @@ export function FocusView(vm, params) {
|
|||||||
Icon({
|
Icon({
|
||||||
name: 'trash',
|
name: 'trash',
|
||||||
size: 0.75,
|
size: 0.75,
|
||||||
fill: 'white'
|
fill: 'white',
|
||||||
|
style: { verticalAlign: 'middle' }
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user