Skip to content

Commit

Permalink
Correct LMS Mode link button styling to be in line with other config …
Browse files Browse the repository at this point in the history
…page buttons
  • Loading branch information
SteveMicroNova committed Oct 23, 2024
1 parent 22eec1c commit 63885b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions web/src/pages/Settings/Config/Config.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@
color: general.$text-color;
font-size: 0.75rem;
}

.config-spacing{
@media (min-width: 768px) {
margin-left: 30px !important;
}
}
2 changes: 1 addition & 1 deletion web/src/pages/Settings/Config/ConfigPanels/LMSMode.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function LMSMode() {
function LMSControlLink() {
if(lmsMode){
return (
<Button variant="contained" sx={{color: 'black'}} target="_blank" href={`http://${window.location.hostname}:9000`}>
<Button target="_blank" href={`http://${window.location.hostname}:9000`} className="config-spacing">
LMS Control Panel
</Button>
)
Expand Down

0 comments on commit 63885b2

Please sign in to comment.