Skip to content

Commit

Permalink
menu formatting on big screens
Browse files Browse the repository at this point in the history
gfwilliams committed Sep 18, 2024

Verified

This commit was signed with the committer’s verified signature.
MrAlex94 Alex Kontos
1 parent 54a0ff2 commit 69cb783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uart.js
Original file line number Diff line number Diff line change
@@ -524,7 +524,7 @@ To do:
e.style = 'position:absolute;top:0px;left:0px;right:0px;bottom:0px;opacity:0.5;z-index:100;background:black;';
// menu
var menu = document.createElement('div');
menu.style = 'position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-family: Sans-Serif;z-index:101;min-width:30%';
menu.style = 'position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-family: Sans-Serif;z-index:101;min-width:300px';
var menutitle = document.createElement('div');
menutitle.innerText = options.title;
menutitle.style = 'color:#fff;background:#000;padding:8px 8px 4px 8px;font-weight:bold;';

0 comments on commit 69cb783

Please sign in to comment.