diff --git a/kitchenradio/public/stylesheets/style.css b/kitchenradio/public/stylesheets/style.css index a3dccfa..027451c 100644 --- a/kitchenradio/public/stylesheets/style.css +++ b/kitchenradio/public/stylesheets/style.css @@ -135,6 +135,7 @@ body { background-size: auto 100%; background-repeat: no-repeat; background-position: left top; + overflow: hidden; } .clearboth { clear: both; @@ -210,7 +211,7 @@ a { flex-grow: 1; flex-basis: auto; align-self: flex-start; - height: 100%; + height: auto; text-align: center; text-decoration: none; font-size: 50px; @@ -221,3 +222,14 @@ a { #controls .control.empty { visibility: hidden; } +@media screen and (max-width: 320px) { + #controls { + display: block; + text-align: center; + } + #controls .control { + display: inline-block; + width: 25%; + margin: 0; + } +} diff --git a/kitchenradio/public/stylesheets/style.less b/kitchenradio/public/stylesheets/style.less index 1be3145..0934301 100644 --- a/kitchenradio/public/stylesheets/style.less +++ b/kitchenradio/public/stylesheets/style.less @@ -66,6 +66,7 @@ body { background-size: auto 100%; background-repeat: no-repeat; background-position: left top; + overflow: hidden; } .clearboth { @@ -155,7 +156,7 @@ a { flex-grow: 1; flex-basis: auto; align-self: flex-start; - height: 100%; + height: auto; text-align: center; text-decoration: none; font-size: 50px; @@ -168,4 +169,15 @@ a { visibility: hidden; } } + + @media screen and (max-width: 320px) { + display: block; + text-align: center; + + .control { + display: inline-block; + width: 25%; + margin: 0; + } + } } \ No newline at end of file