Skip to content

Commit

Permalink
1205 - Updating workspace switcher css (#1211)
Browse files Browse the repository at this point in the history
* 1205 - Updating workspace switcher css

* Updating workspace padding
  • Loading branch information
asaadmahmood committed Sep 16, 2021
1 parent f22b1cb commit 6cd2ff7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
6 changes: 2 additions & 4 deletions webapp/src/components/sidebar/sidebar.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.focalboard-body .Sidebar {
flex: 0 0 240px;

max-width: 240px;
display: flex;
flex-direction: column;

min-height: 100%;
color: rgb(var(--sidebar-text-rgb));
background-color: rgb(var(--sidebar-bg-rgb));
padding: 12px 0;
padding: 24px 0 12px;

&.hidden {
position: absolute;
Expand Down Expand Up @@ -55,9 +55,7 @@
.WorkspaceTitle {
display: flex;
flex-direction: row;

padding: 0 16px;
margin-bottom: 12px;
font-weight: 600;
}

Expand Down
3 changes: 3 additions & 0 deletions webapp/src/components/workspaceSwitcher/workspaceOptions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
.workspaceTitle {
color: rgb(var(--center-channel-color-rgb));
font-size: 14px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.boardCount {
Expand Down
11 changes: 9 additions & 2 deletions webapp/src/components/workspaceSwitcher/workspaceSwitcher.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
gap: 4px;
width: 100%;
position: relative;
padding: 12px 16px 0;
margin-bottom: 12px;
padding: 0 16px;
margin-bottom: 16px;
font-weight: 600;

> div:nth-child(2) {
Expand All @@ -30,6 +30,13 @@
border-radius: 8px;
padding: 10px 16px;
cursor: pointer;
white-space: nowrap;

span {
max-width: 90%;
overflow: hidden;
text-overflow: ellipsis;
}

.icon-chevron-down {
margin-left: auto;
Expand Down

0 comments on commit 6cd2ff7

Please sign in to comment.