Skip to content

Commit a6421dd

Browse files
committed
Final element CSS Fix
1 parent ce79bcd commit a6421dd

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

src/main/resources/static/css/dragdrop.css

+6-2
Original file line numberDiff line numberDiff line change
@@ -59,17 +59,21 @@ html[dir="rtl"] .drag-manager_draghover img {
5959
background-color: #ffffff10;
6060
transition: width 0.1s;
6161
animation: end-drop-expand 0.3s ease;
62-
display: flex;
6362
align-items: center;
6463
justify-content: center;
6564
margin-left:16px;
6665
border-radius: 8px;
67-
6866
}
6967

7068
.drag-manager_endpoint svg {
7169
width: 50px;
7270
height: 50px;
71+
72+
display: block;
73+
position: absolute;
74+
left: 50%;
75+
top: 50%;
76+
translate: -50% -50%;
7377
}
7478

7579
.drag-manager_endpoint.drag-manager_draghover {

src/main/resources/static/css/multi-tool.css

-10
Original file line numberDiff line numberDiff line change
@@ -85,18 +85,11 @@ label {
8585
flex-direction: column;
8686
padding: 1rem;
8787
border-radius: 25px;
88-
overflow-y: clip;
89-
overflow-x: auto;
9088
min-height: 275px;
9189
margin: 0 0 30px 0;
9290
}
9391

9492
#pages-container {
95-
/* gap: 0px;
96-
display: flex;
97-
flex-wrap: wrap;
98-
margin-left: -15px;
99-
margin-right: -15px; */
10093
margin: 0 auto;
10194
width: 95%;
10295
font-size: 0;
@@ -126,7 +119,6 @@ label {
126119

127120

128121
.page-container {
129-
130122
display: inline-block;
131123
list-style-type: none;
132124
width: 250px;
@@ -135,7 +127,6 @@ label {
135127
margin: 15px 25px;
136128
box-sizing: border-box;
137129
text-align: center;
138-
139130
aspect-ratio: 1;
140131
position: relative;
141132
user-select: none;
@@ -205,7 +196,6 @@ label {
205196
.page-container img {
206197
max-width: calc(100% - 15px);
207198
max-height: calc(100% - 15px);
208-
/* max-width: 237px; */
209199
display: block;
210200
position: absolute;
211201
left: 50%;

0 commit comments

Comments
 (0)