Fixed the resize issue
This commit is contained in:
@@ -63,9 +63,9 @@
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
border: 1px solid var(--surface-border);
|
||||
border-radius: 2px;
|
||||
cursor: grab;
|
||||
transition: box-shadow 0.2s, border-color 0.2s;
|
||||
overflow: hidden;
|
||||
resize: both;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
@@ -107,6 +107,58 @@
|
||||
&.table_header { border-color: #F59E0B; }
|
||||
&.total { border-color: #10B981; }
|
||||
&.tax { border-color: #EF4444; }
|
||||
|
||||
.drag-handle {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
font-size: 0.6rem;
|
||||
color: var(--text-color-secondary);
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
border-radius: 2px;
|
||||
padding: 2px;
|
||||
cursor: grab;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s;
|
||||
z-index: 20;
|
||||
|
||||
&:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: var(--primary-color);
|
||||
background: var(--primary-50);
|
||||
}
|
||||
}
|
||||
|
||||
&:hover .drag-handle {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.close-icon {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: 2px;
|
||||
font-size: 0.6rem;
|
||||
color: var(--text-color-secondary);
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
border-radius: 50%;
|
||||
padding: 2px;
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
transition: opacity 0.2s;
|
||||
z-index: 20;
|
||||
|
||||
&:hover {
|
||||
color: var(--red-500);
|
||||
background: var(--red-50);
|
||||
}
|
||||
}
|
||||
|
||||
&:hover .close-icon {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* Template Mapping Side */
|
||||
|
||||
Reference in New Issue
Block a user