Center drag handle at top of all widgets and fix dead edit-mode CSS
- Position drag handle at left: 50% with translateX(-50%) instead of left: 6px so it appears centered at the top of every widget - Fix widget-density.css referencing non-existent class widgetCardEditMode (the actual class is widgetEditing), which caused edit-mode header padding adjustments to never apply Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -3116,7 +3116,8 @@ button:disabled {
|
||||
.widgetDragHandle {
|
||||
position: absolute !important;
|
||||
top: 5px !important;
|
||||
left: 7px !important;
|
||||
left: 50% !important;
|
||||
transform: translateX(-50%) !important;
|
||||
z-index: 80 !important;
|
||||
width: 20px !important;
|
||||
height: 22px !important;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
box-sizing: border-box !important;
|
||||
}
|
||||
|
||||
.app .widgetCard.widgetCardEditMode .widgetHeader {
|
||||
.app .widgetCard.widgetEditing .widgetHeader {
|
||||
padding-left: 31px !important;
|
||||
padding-right: 32px !important;
|
||||
}
|
||||
@@ -66,7 +66,7 @@
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.app .widgetCard-clock.widgetCardEditMode .widgetHeader {
|
||||
.app .widgetCard-clock.widgetEditing .widgetHeader {
|
||||
height: 24px !important;
|
||||
min-height: 24px !important;
|
||||
}
|
||||
@@ -78,7 +78,8 @@
|
||||
/* Griff und Menü kleiner */
|
||||
.app .widgetDragHandle {
|
||||
top: 2px !important;
|
||||
left: 6px !important;
|
||||
left: 50% !important;
|
||||
transform: translateX(-50%) !important;
|
||||
width: 20px !important;
|
||||
height: 20px !important;
|
||||
}
|
||||
@@ -377,7 +378,7 @@
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.app .widgetCard-clock.widgetCardEditMode .widgetHeader {
|
||||
.app .widgetCard-clock.widgetEditing .widgetHeader {
|
||||
height: 24px !important;
|
||||
min-height: 24px !important;
|
||||
max-height: 24px !important;
|
||||
@@ -393,7 +394,7 @@
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.app .widgetCard-clock.widgetCardEditMode .widgetContent {
|
||||
.app .widgetCard-clock.widgetEditing .widgetContent {
|
||||
height: calc(100% - 24px) !important;
|
||||
padding-top: 2px !important;
|
||||
}
|
||||
@@ -437,7 +438,7 @@
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.app .widgetCard-clock.widgetCardEditMode .widgetContent {
|
||||
.app .widgetCard-clock.widgetEditing .widgetContent {
|
||||
height: calc(100% - 24px) !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
@@ -459,7 +460,7 @@
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.app .widgetCard-clock.widgetCardEditMode .widgetContent {
|
||||
.app .widgetCard-clock.widgetEditing .widgetContent {
|
||||
height: calc(100% - 24px) !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user