0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-10 00:32:45 +00:00

Shift static height style to LESS file

This commit is contained in:
G.Ambatte
2024-10-11 11:55:51 +13:00
parent 5d29d40c97
commit a9a8b4b9bb
2 changed files with 2 additions and 1 deletions

View File

@@ -187,7 +187,7 @@ const BrewRenderer = (props)=>{
})); }));
}; };
const styleObject = { height: '100vh' }; const styleObject = {};
if(global.config.deployment) { 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>")`; 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>")`;

View File

@@ -4,6 +4,7 @@
overflow-y : scroll; overflow-y : scroll;
will-change : transform; will-change : transform;
padding-top : 30px; padding-top : 30px;
height : 100vh;
&.deployment { &.deployment {
background-color: darkred; background-color: darkred;
} }