Skip to content
Permalink
Browse files

fix Stable sidebar width and center inventory drawer (fixes #9263) (#…

…9419)

* fix Stable sidebar width and center inventory drawer (fixes #9263)

* hide all .standard-sidebars on small/mobile devices
  • Loading branch information...
trvrfrd authored and SabreCat committed Nov 28, 2017
1 parent 200cd66 commit a0f29e970d841ef689c520e87877a9d6bc574620
@@ -1,5 +1,5 @@
<template lang="pug">
.col-2.standard-sidebar.hidden-xs-down
.standard-sidebar.d-none.d-sm-block
.form-group
input.form-control.search(type="text", :placeholder="$t('search')", v-model='searchTerm')

@@ -1,5 +1,5 @@
<template lang="pug">
.standard-sidebar.hidden-xs-down
.standard-sidebar.d-none.d-sm-block
.form-group
input.form-control.search(type="text", :placeholder="$t('search')", v-model='searchTerm')

@@ -1,6 +1,6 @@
<template lang="pug">
.row
.standard-sidebar
.standard-sidebar.d-none.d-sm-block
.form-group
input.form-control.input-search(type="text", v-model="searchText", :placeholder="$t('search')")

@@ -1,6 +1,6 @@
<template lang="pug">
.row(v-mousePosition="30", @mouseMoved="mouseMoved($event)")
.standard-sidebar
.standard-sidebar.d-none.d-sm-block
.form-group
input.form-control.input-search(type="text", v-model="searchText", :placeholder="$t('search')")

@@ -1,7 +1,7 @@
<template lang="pug">
// @TODO: breakdown to componentes and use some SOLID
.row.stable(v-mousePosition="30", @mouseMoved="mouseMoved($event)")
.standard-sidebar.col-3.hidden-xs-down
.standard-sidebar.d-none.d-sm-block
div
#npmMattStable.npc_matt
b-popover(
@@ -54,7 +54,7 @@
@change="updateHideMissing"
)

.standard-page.col-12.col-sm-9
.standard-page
.clearfix
h1.float-left.mb-4.page-header(v-once) {{ $t('stable') }}

@@ -1,6 +1,6 @@
<template lang="pug">
.row.market
.standard-sidebar
.standard-sidebar.d-none.d-sm-block
.form-group
input.form-control.input-search(type="text", v-model="searchText", :placeholder="$t('search')")
.form
@@ -1,6 +1,6 @@
<template lang="pug">
.row.quests
.standard-sidebar
.standard-sidebar.d-none.d-sm-block
.form-group
input.form-control.input-search(type="text", v-model="searchText", :placeholder="$t('search')")

@@ -1,6 +1,6 @@
<template lang="pug">
.row.seasonal
.standard-sidebar
.standard-sidebar.d-none.d-sm-block
.form-group
input.form-control.input-search(type="text", v-model="searchText", :placeholder="$t('search')")

@@ -1,6 +1,6 @@
<template lang="pug">
.row.timeTravelers
.standard-sidebar(v-if="!closed")
.standard-sidebar.d-none.d-sm-block(v-if="!closed")
.form-group
input.form-control.input-search(type="text", v-model="searchText", :placeholder="$t('search')")

@@ -27,8 +27,8 @@
@media screen and (min-width: 1241px) {
max-width: 978px;
// 16.67% is the width of the .col-2 sidebar
left: calc((100% + 16.67% - 978px) / 2);
// 236px is the width of the .standard-sidebar
left: calc((100% + 236px - 978px) / 2);
right: 0%;
}
}

0 comments on commit a0f29e9

Please sign in to comment.
You can’t perform that action at this time.