Fix search on mobile
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2020-06-17 21:44:44 +02:00
parent 35d52c3404
commit 3248aca041
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
5 changed files with 22 additions and 3 deletions

View File

@ -47,7 +47,7 @@
}
}
@media screen and (max-width: ($tablet / 2)) {
@media screen and (max-width: ($mobile)) {
width: calc(100% - 1em);
&:nth-child(1n) {

View File

@ -126,4 +126,19 @@
.filters input {
font-size: .9em;
}
@media screen and (max-width: $tablet) {
position: static;
margin: 1rem 0;
max-width: 100%;
min-width: auto;
.search {
width: 100%;
.control:first-child {
width: 100%;
}
}
}
}

View File

@ -4,7 +4,7 @@ $lists-per-row: 5;
.button.new-namespace {
float: right;
@media screen and (max-width: $tablet / 2) {
@media screen and (max-width: $mobile) {
float: none;
width: 100%;
margin-bottom: 1rem;
@ -84,7 +84,7 @@ $lists-per-row: 5;
}
}
@media screen and (max-width: $tablet / 2) {
@media screen and (max-width: $mobile) {
$lists-per-row: 1;
& {
width: 100%;

View File

@ -1,5 +1,7 @@
@import '../../../node_modules/bulma/bulma';
@import 'variables-derived';
*, *:hover, *:active, *:focus {
outline: none;
}

View File

@ -0,0 +1,2 @@
// Variables that are derived from bulma variables need to be included after them
$mobile: $tablet / 2;