diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2016-07-08 20:20:34 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2016-07-08 20:20:34 +0200 |
| commit | 594af41c21776431372437dce1befb53d34dbde6 (patch) | |
| tree | 53f25627548db2b5ced7fe0e04ba11615836e71a /templates | |
| parent | 47652149374cf253554a3d11b01ef0a304a11186 (diff) | |
| download | jokevote-594af41c21776431372437dce1befb53d34dbde6.tar.gz jokevote-594af41c21776431372437dce1befb53d34dbde6.zip | |
fix search bar css
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/templates/index.html b/templates/index.html index ae1eaa4..ac85c90 100644 --- a/templates/index.html +++ b/templates/index.html @@ -36,18 +36,17 @@ </li> </ul> <style type="text/css"> - @media screen and (min-width: 600px) { /* "m" or "l" */ - #searchform { - margin-left: 17em; - margin-right: 24em; - } + nav .brand-logo { + position: relative !important; } - @media screen and (max-width: 600px) { /* "s" */ - #searchform { - width: 30%; - } + #searchform { + overflow: hidden; + padding-left: 1rem; } - </style> <!-- TODO get rid of these magic margins --> + #searchform .input-field label { + pointer-events: none; + } + </style> <form id="searchform" > <div class="input-field"> <label for="filter"><i class="material-icons">search</i></label> |
