.content-item { margin-bottom: 12px; &-role { display: flex; align-items: center; justify-content: space-between; font-weight: var(--font-weight-bold); margin-bottom: 8px; height: 24px; } .role { position: relative; padding: 0 4px; border-radius: var(--border-radius-mini); } .actions { display: none; } .actions .mrkd-switch { border-radius: 12px; .ant-segmented-thumb, .ant-segmented-item-selected, .ant-segmented-item, .ant-segmented-item::after { border-radius: 10px; overflow: hidden; } } &:hover { .actions { display: flex; align-items: center; justify-content: flex-start; gap: 5px; } } &-content { word-break: break-word; min-height: 38px; border-radius: var(--border-radius-mini); background-color: var(--ant-color-fill-tertiary); .text { padding: 8px 14px; line-height: 20px; } &.has-img { border: 1px solid var(--ant-color-fill-secondary); background: none; } } .message-content-input { flex: 1; cursor: pointer; &.has-img { border: 1px solid var(--ant-color-fill-secondary); border-radius: var(--border-radius-base); overflow: hidden; .ant-input { border-radius: 0 0 var(--border-radius-base) var(--border-radius-base); border-color: transparent; background-color: transparent; } &:focus-within { border-color: var(--ant-color-primary); } } } }