mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-02 15:02:38 +00:00
eslint and stylelint
stylelint has a problem with the `:horizontal` pseudo selector in brewRenderer.jsx, which is being used to apply some styling to the custom scrollbars. As far as i can tell, the selector is not standards-track, so that is probably why. Not sure if we want to adjsut our stylelint config to allow it?
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
@import (multiple, less) 'shared/naturalcrit/styles/reset.less';
|
||||
|
||||
.brewRenderer {
|
||||
will-change : transform;
|
||||
overflow-y : scroll;
|
||||
padding-top : 30px;
|
||||
overflow-y : scroll;
|
||||
will-change : transform;
|
||||
|
||||
:where(.pages) {
|
||||
margin : 30px 0px;
|
||||
@@ -19,23 +19,19 @@
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 20px;
|
||||
width : 20px;
|
||||
|
||||
&:horizontal{
|
||||
height: 20px;
|
||||
width:auto;
|
||||
&:horizontal {
|
||||
width : auto;
|
||||
height : 20px;
|
||||
}
|
||||
|
||||
&-thumb {
|
||||
background: linear-gradient(90deg, #d3c1af 15px, #00000000 15px);
|
||||
&:horizontal{
|
||||
background: linear-gradient(0deg, #d3c1af 15px, #00000000 15px);
|
||||
}
|
||||
background : linear-gradient(90deg, #D3C1AF 15px, #00000000 15px);
|
||||
&:horizontal { background : linear-gradient(0deg, #D3C1AF 15px, #00000000 15px); }
|
||||
}
|
||||
|
||||
&-corner {
|
||||
visibility: hidden;
|
||||
}
|
||||
&-corner { visibility : hidden; }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,18 +66,14 @@
|
||||
}
|
||||
|
||||
@media print {
|
||||
.toolBar {
|
||||
display: none;
|
||||
}
|
||||
.toolBar { display : none; }
|
||||
.brewRenderer {
|
||||
height: 100%;
|
||||
overflow-y: unset;
|
||||
padding-top: unset;
|
||||
height : 100%;
|
||||
padding-top : unset;
|
||||
overflow-y : unset;
|
||||
.pages {
|
||||
margin: 0px;
|
||||
&>.page {
|
||||
box-shadow: unset;
|
||||
}
|
||||
margin : 0px;
|
||||
& > .page { box-shadow : unset; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user