mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2025-01-05 12:57:33 +03:00
Make navbar more responsive.
This commit is contained in:
parent
a6268235d1
commit
8a623eaadb
@ -259,7 +259,11 @@ header currentPath =
|
||||
[ Element.link []
|
||||
{ url = "/"
|
||||
, label =
|
||||
Element.row [ Font.size 30, Element.spacing 16 ]
|
||||
Element.row
|
||||
[ Font.size 30
|
||||
, Element.spacing 16
|
||||
, Element.htmlAttribute (Attr.id "navbar-title")
|
||||
]
|
||||
[ DocumentSvg.view
|
||||
, Element.text "elm-pages"
|
||||
]
|
||||
|
@ -18,3 +18,11 @@
|
||||
.avatar img {
|
||||
border-radius: 50%;
|
||||
}
|
||||
@media all and (max-width: 600px) {
|
||||
#navbar-title {
|
||||
font-size: 20px !important;
|
||||
}
|
||||
#navbar-title svg {
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user