Remove horizontal scrollbar from .container and .container-fluid.
This commit is contained in:
parent
78bd99af56
commit
53019ccfa1
2 changed files with 24 additions and 20 deletions
|
|
@ -1,24 +1,29 @@
|
||||||
// Common/Global Styles
|
// Common/Global Styles
|
||||||
// Use this file for global styles that don't or won't have their own stylesheet
|
// Use this file for global styles that don't or won't have their own stylesheet
|
||||||
body {
|
body {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding: .5rem;
|
padding: .5rem;
|
||||||
.container-fluid {
|
.container-fluid {
|
||||||
max-width: 576px;//Remove once desktop app is complete
|
max-width: 576px;//Remove once desktop app is complete
|
||||||
&.container-shadow {
|
&.container-shadow {
|
||||||
box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.15);//Use instead of Bootstrap's helper
|
box-shadow: 0px 0px 6px 0px rgba(0,0,0,0.15);//Use instead of Bootstrap's helper
|
||||||
}
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
color: $blue;
|
|
||||||
text-decoration: none;
|
|
||||||
border-bottom: 1px solid $blue;
|
|
||||||
&:hover {
|
|
||||||
color: $blue-400;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.pointer {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
a {
|
||||||
|
color: $blue;
|
||||||
|
text-decoration: none;
|
||||||
|
border-bottom: 1px solid $blue;
|
||||||
|
&:hover {
|
||||||
|
color: $blue-400;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.pointer {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.container,
|
||||||
|
.container-fluid {
|
||||||
|
overflow-x: hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Hide horizontal scrollbar
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,6 @@ export default {
|
||||||
} else if(this.positionInGroup == 1) {
|
} else if(this.positionInGroup == 1) {
|
||||||
className = 'first-item'
|
className = 'first-item'
|
||||||
}
|
}
|
||||||
console.log(typeof this.positionInGroup);
|
|
||||||
return className;
|
return className;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue