Skip to content

Commit

Permalink
feat(manager): resize window and left-adjust tabs (#2350)
Browse files Browse the repository at this point in the history
* feat(manager): resize window and left-adjust tabs

* fix sidebar

* fix spelling
  • Loading branch information
daniellacosse authored Jan 30, 2025
1 parent aee140a commit 337aaa4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion server_manager/electron/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ interface IpcEvent {

function createMainWindow() {
const win = new electron.BrowserWindow({
width: 800,
width: 1255,
height: 1024,
minWidth: 600,
minHeight: 768,
Expand Down
2 changes: 1 addition & 1 deletion server_manager/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<style>
/*
TODO: currently webpack wants to relove the `url` link here but doesen't know how.
TODO: currently webpack wants to resolve the `url` link here but doesn't know how.
Index.html isn't transformed by webpack, so this sidesteps the issue, but ideally we teach webpack how to handle this filetype.
*/
@font-face {
Expand Down
2 changes: 1 addition & 1 deletion server_manager/www/ui_components/app-root.ts
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ export class AppRoot extends polymerElementWithLocalize {
<div hidden\$="{{!hasAcceptedTos}}">
<!-- This responsive width sets the minimum layout area to 648px. -->
<app-drawer-layout id="drawerLayout" responsive-width="886px" on-narrow-changed="_computeShouldShowSideBar" class\$="[[sideBarMarginClass]]">
<app-drawer-layout id="drawerLayout" responsive-width="1255px" on-narrow-changed="_computeShouldShowSideBar" class\$="[[sideBarMarginClass]]">
<app-drawer id="appDrawer" slot="drawer" on-opened-changed="_computeShouldShowSideBar">
<app-toolbar class="toolbar" hidden\$="[[shouldShowSideBar]]">
<paper-icon-button icon="menu" on-click="_toggleAppDrawer"></paper-icon-button>
Expand Down
2 changes: 1 addition & 1 deletion server_manager/www/ui_components/outline-server-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,6 @@ export class ServerView extends DirMixin(PolymerElement) {
</div>
</div>
<div class="tabs-container">
<div class="tabs-spacer"></div>
<paper-tabs
selected="{{selectedTab}}"
attr-for-selected="name"
Expand All @@ -564,6 +563,7 @@ export class ServerView extends DirMixin(PolymerElement) {
>[[localize('server-settings')]]</paper-tab
>
</paper-tabs>
<div class="tabs-spacer"></div>
</div>
<iron-pages
selected="[[selectedTab]]"
Expand Down

0 comments on commit 337aaa4

Please sign in to comment.