Skip to content

Commit e8831e3

Browse files
save file
1 parent 6277496 commit e8831e3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

blog/25-08-25/monaco-editor-setup/monaco-editor-setup.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,12 @@
9898
<style>
9999

100100
html
101-
{font-family:arial}
101+
{height:100%;font-family:arial}
102+
body
103+
{min-height:calc(100% - 40px);display:flex;flex-direction:column;gap:10px;margin:20px;align-items:center;
104+
}
105+
body>*
106+
{max-width:1400px;width:100%;padding:0 20px;}
102107

103108
</style>
104109

0 commit comments

Comments
 (0)