mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-08-07 01:03:15 +02:00
fix(repeaters): remove 8px modal margin on narrow viewports
The fullscreen-modal override (@media max-width:576px) that zeroes the default .modal-dialog 0.5rem margin enumerates modal IDs by hand and omitted #repeatersModal, so on narrow windows the My Repeaters modal kept an 8px top/left gap that Contact Management did not. Added #repeatersModal to the three override selector lists. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1882,7 +1882,8 @@ emoji-picker {
|
||||
#dmModal .modal-dialog.modal-fullscreen,
|
||||
#contactsModal .modal-dialog.modal-fullscreen,
|
||||
#logsModal .modal-dialog.modal-fullscreen,
|
||||
#consoleModal .modal-dialog.modal-fullscreen {
|
||||
#consoleModal .modal-dialog.modal-fullscreen,
|
||||
#repeatersModal .modal-dialog.modal-fullscreen {
|
||||
margin: 0 !important;
|
||||
width: 100vw !important;
|
||||
max-width: 100vw !important;
|
||||
@@ -1893,7 +1894,8 @@ emoji-picker {
|
||||
#dmModal .modal-content,
|
||||
#contactsModal .modal-content,
|
||||
#logsModal .modal-content,
|
||||
#consoleModal .modal-content {
|
||||
#consoleModal .modal-content,
|
||||
#repeatersModal .modal-content {
|
||||
border: none !important;
|
||||
border-radius: 0 !important;
|
||||
height: 100vh !important;
|
||||
@@ -1902,7 +1904,8 @@ emoji-picker {
|
||||
#dmModal .modal-body,
|
||||
#contactsModal .modal-body,
|
||||
#logsModal .modal-body,
|
||||
#consoleModal .modal-body {
|
||||
#consoleModal .modal-body,
|
||||
#repeatersModal .modal-body {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user