diff --git a/src/UniversalDashboard.Community.psm1 b/src/UniversalDashboard.Community.psm1 index aa1a1c37..95dba48c 100644 --- a/src/UniversalDashboard.Community.psm1 +++ b/src/UniversalDashboard.Community.psm1 @@ -1,4 +1,4 @@ -Write-Warning -Message "This module is no longer supported. Universal Dashboard functionality has been moved into PowerShell Universal. To learn more, visit: https://www.ironmansoftware.com/powershell-universal" +Write-Warning -Message "This module is no longer supported. Universal Dashboard functionality has been moved into PowerShell Universal. You can still host your UD Community dashboards for free within PowerShell Universal. To learn more, visit: https://www.ironmansoftware.com/powershell-universal" # SIG # Begin signature block # MIIXvwYJKoZIhvcNAQcCoIIXsDCCF6wCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB # gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR diff --git a/src/v2/Components/ud-button.jsx b/src/v2/Components/ud-button.jsx index 46fb5d1f..18425335 100644 --- a/src/v2/Components/ud-button.jsx +++ b/src/v2/Components/ud-button.jsx @@ -64,8 +64,23 @@ export default class UDButton extends React.Component { } var icon = null; + var content = this.state.text; if (this.state.icon) { - icon = + + var style = {} + const margin = this.state.floating || !this.state.text ? 'unset' : '5px'; + if (margin === '5px' && this.props.iconAlignment === "left") + { + style["marginRight"] = margin; + } + + if (margin === '5px' && this.props.iconAlignment === "right") + { + style["marginLeft"] = margin; + } + + icon = + content = this.props.iconAlignment === "left" ? [icon, content] : [content, icon]; } return } } diff --git a/src/v2/Components/ud-footer.jsx b/src/v2/Components/ud-footer.jsx index 8b996348..2529adcc 100644 --- a/src/v2/Components/ud-footer.jsx +++ b/src/v2/Components/ud-footer.jsx @@ -1,10 +1,16 @@ import React from 'react'; import UdLink from './ud-link.jsx' +const style = { + position: 'absolute', + width: '100%', + bottom: '0' +} + export default class UdFooter extends React.Component { render() { if (this.props.footer == null) { - return