diff --git a/css/css.css b/css/css.css index c7e7445..e61e0ad 100644 --- a/css/css.css +++ b/css/css.css @@ -36,6 +36,7 @@ body { } .bui_window_root { + display: inline-block; position: relative; background: rgba(200,200,200,1); color: black; @@ -44,8 +45,18 @@ body { } .bui_window_titlebar { - display: flex; - justify-content: space-between; background: rgba(100,100,100,1); padding: 5px; } + +.bui_window_title { + display: inline-block; + width: 100%; + text-align: center; +} + +.bui_window_controls { + position: absolute; + right: 0; + top: 0; +} diff --git a/index.html b/index.html index 3f4a972..6b98a5a 100644 --- a/index.html +++ b/index.html @@ -31,7 +31,7 @@ blueui.js - Adds classes for several highly reusable ui objects such as buttons