mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 16:22:44 +00:00
Shift static height style to LESS file
This commit is contained in:
@@ -187,7 +187,7 @@ const BrewRenderer = (props)=>{
|
||||
}));
|
||||
};
|
||||
|
||||
const styleObject = { height: '100vh' };
|
||||
const styleObject = {};
|
||||
|
||||
if(global.config.deployment) {
|
||||
styleObject.backgroundImage = `url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='40px' width='200px'><text x='0' y='15' fill='white' font-size='20'>${global.config.deployment}</text></svg>")`;
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
overflow-y : scroll;
|
||||
will-change : transform;
|
||||
padding-top : 30px;
|
||||
height : 100vh;
|
||||
&.deployment {
|
||||
background-color: darkred;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user