fix(web): keep the sidebar org name inside the footer
Long organization names wrap beside the logout button instead of spilling out of the sidebar card. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -212,9 +212,11 @@ onUnmounted(() => {
|
||||
|
||||
.org-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.4rem;
|
||||
align-items: flex-start;
|
||||
gap: 0.35rem;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
min-width: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: #94a3b8;
|
||||
@@ -223,15 +225,20 @@ onUnmounted(() => {
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
text-align: right;
|
||||
padding: 0 0.45rem 0.15rem;
|
||||
padding: 0 0.15rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.org-btn :deep(.ico) {
|
||||
flex-shrink: 0;
|
||||
margin-top: 0.05rem;
|
||||
}
|
||||
|
||||
.org-btn span {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.org-btn:hover {
|
||||
|
||||
Reference in New Issue
Block a user