Improved footer component
This commit is contained in:
parent
0d05d12314
commit
bcdbcbd807
2 changed files with 4 additions and 2 deletions
|
|
@ -4,5 +4,4 @@
|
|||
position: fixed
|
||||
bottom: 0
|
||||
width: 100%
|
||||
font-size: 0.75rem
|
||||
opacity: 0.8
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import './Footer.sass'
|
||||
import type { JSXElement } from 'solid-js'
|
||||
import Row from '../Row/Row'
|
||||
|
||||
interface Props {
|
||||
children: JSXElement
|
||||
|
|
@ -8,7 +9,9 @@ interface Props {
|
|||
export default (props: Props) => {
|
||||
return (
|
||||
<>
|
||||
<footer class="footer">{props.children}</footer>
|
||||
<footer class="footer">
|
||||
<small>{props.children}</small>
|
||||
</footer>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue