.task-center { position: absolute; top: 64px; right: 0; width: 500px; max-width: 500px; background: #fff; color: rgba(0, 0, 0, 0.85); border: 1px solid #d9d9d9; border-radius: 6px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08), 0 3px 6px rgba(0, 0, 0, 0.06); z-index: 1000; display: none; overflow-x: hidden; &.visible { display: block; } .task-header { padding: 4px 10px; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; background: #fafafa; h3 { font-size: 14px; margin: 0; } .create-task-button { border: none; color: white; padding: 4px 12px; border-radius: 4px; cursor: pointer; font-weight: 500; &:hover { background-color: #40a9ff; } } } .task-section { margin: 0; padding: 0; } .section-title { padding: 0px 10px; margin: 0px; //font-size: 12px; background: #f5f5f5; font-weight: 650; border-bottom: 1px solid #e8e8e8; position: sticky; top: 0; z-index: 1; } .task-row-container { margin-top: 15px; margin-bottom: 15px; } .task-row { cursor: pointer; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: flex-start; &:hover { background: #f5f5f5; } .task-title-cell { flex: 1; padding: 6px 8px; vertical-align: top; //font-size: 12px; line-height: 1.2; max-width: 350px; // or whatever fits your layout .task-title { font-size: 16px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; // Or a specific width if you want more control display: inline-block; vertical-align: middle; } .task-ro-number { margin-top: 20px; color: #1677ff; } } .task-due-cell { padding: 6px 8px; vertical-align: top; //font-size: 12px; line-height: 1.2; text-align: right; white-space: nowrap; color: rgba(0, 0, 0, 0.45); } } button { margin: 8px auto; padding: 4px 10px; background-color: #1677ff; color: white; border: none; border-radius: 4px; //font-size: 12px; cursor: pointer; &:hover { background-color: #4096ff; } &:disabled { background-color: #d9d9d9; cursor: not-allowed; } } .no-tasks-message, .error-message { padding: 16px; text-align: center; color: rgba(0, 0, 0, 0.45); } .loading-footer { padding: 16px; text-align: center; } }