diff --git a/AUTHORS b/AUTHORS index 89ee5192a8..a9e7412e37 100644 --- a/AUTHORS +++ b/AUTHORS @@ -55,6 +55,7 @@ Michael Rienstra Muhammad Mahad Naoto Ono Paul Fisher +Paras Awasthi Per-Olov Jernberg PhistucK Pradhuman Singh Baid diff --git a/front_end/ui/legacy/confirmDialog.css b/front_end/ui/legacy/confirmDialog.css index 84ae609ead..6f04f4779f 100644 --- a/front_end/ui/legacy/confirmDialog.css +++ b/front_end/ui/legacy/confirmDialog.css @@ -6,8 +6,12 @@ .widget { padding: 20px; + box-sizing: border-box; + max-width: 400px; + overflow: hidden; } +/* Center-align text in the message class */ .message { text-align: center; } @@ -16,18 +20,33 @@ .button { font-size: larger; white-space: pre; - margin: 5px; + margin: 10px 0; } +/* Center-align text and added margin to the button class */ .button { text-align: center; - margin-top: 10px; + margin-top: 20px; } +/* Ensure the button has a minimum width */ .button button { - min-width: 80px; + min-width: 100px; /* Increased minimum width for better appearance */ } .reason { color: var(--sys-color-error); + margin-top: 10px; /* Added top margin for better spacing */ +} + +/* Added white-space property to handle text overflow */ +.message span { + white-space: normal; + word-wrap: break-word; /* Allow long words to break and wrap to the next line */ + max-width: 100%; + display: inline-block; + overflow: hidden; + text-overflow: ellipsis; + padding: 5px; + margin: 0; }