Replace DxButton with HTML buttons and update styles
Replaced DevExpress DxButton components with standard HTML <button> elements in EnvelopeSenderEditorPage.razor for "Add Receiver" and "Add Signature" actions. The new buttons include SVG icons and text for improved customization and styling. Updated envelope-viewer.css to add new styles for the buttons, including `.sender-toolbar-action-btn` and `.sender-toolbar-action-btn--compact` classes. Removed unused styles related to DxButton components and adjusted `.sender-receiver-chip__action` for proper width handling. These changes improve design flexibility and maintainability.
This commit is contained in:
@@ -573,6 +573,15 @@ body.resizing {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.sender-toolbar-action-btn {
|
||||
min-width: auto;
|
||||
padding: 0.5rem 0.75rem;
|
||||
}
|
||||
|
||||
.sender-toolbar-action-btn--compact {
|
||||
padding: 0.45rem 0.7rem;
|
||||
}
|
||||
|
||||
.sender-receivers-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -726,12 +735,6 @@ body.resizing {
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.sender-receiver-chip__action .dxbl-btn {
|
||||
border-radius: 8px;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.sender-receiver-popup .dxbl-modal {
|
||||
border-radius: 18px;
|
||||
}
|
||||
@@ -1056,7 +1059,7 @@ body.resizing {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.sender-receiver-chip__action .dxbl-btn {
|
||||
.sender-receiver-chip__action {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user