Просмотр исходного кода

Merge pull request #32855 from overleaf/kc-move-token-rendering

[web] move domain verification token rendering to collapsible section

GitOrigin-RevId: c34b0f66f56c4e9942a53c2a2383d7a8cbdfdf7c
Kate Crichton 3 месяцев назад
Родитель
Сommit
20f08ab8c1

+ 0 - 1
services/web/frontend/extracted-translations.json

@@ -1247,7 +1247,6 @@
   "no_selection_select_file": "",
   "no_selection_select_file": "",
   "no_symbols_found": "",
   "no_symbols_found": "",
   "no_thanks_cancel_now": "",
   "no_thanks_cancel_now": "",
-  "no_token": "",
   "non_blinking_cursor": "",
   "non_blinking_cursor": "",
   "normal": "",
   "normal": "",
   "normally_x_price_per_month": "",
   "normally_x_price_per_month": "",

+ 19 - 1
services/web/frontend/stylesheets/pages/group-settings.scss

@@ -320,10 +320,20 @@ h4.group-settings-title {
 }
 }
 
 
 .group-domains-table {
 .group-domains-table {
+  table-layout: fixed;
+
   thead {
   thead {
-    td {
+    th {
       border-bottom-width: var(--bs-border-width) !important;
       border-bottom-width: var(--bs-border-width) !important;
     }
     }
+
+    th:first-child {
+      width: 60px;
+    }
+
+    th:last-child {
+      width: 100px;
+    }
   }
   }
 
 
   tr:not(.domain-extra-details-row) {
   tr:not(.domain-extra-details-row) {
@@ -340,6 +350,10 @@ h4.group-settings-title {
     }
     }
   }
   }
 
 
+  td {
+    overflow-wrap: break-word;
+  }
+
   .domain-verification-status-table-cell {
   .domain-verification-status-table-cell {
     text-wrap: nowrap;
     text-wrap: nowrap;
   }
   }
@@ -347,6 +361,10 @@ h4.group-settings-title {
   .domain-verification-failure-reason {
   .domain-verification-failure-reason {
     margin-bottom: var(--spacing-05);
     margin-bottom: var(--spacing-05);
   }
   }
+
+  .domain-verification-token-container {
+    margin-bottom: var(--spacing-03);
+  }
 }
 }
 
 
 .domain-verification-token-container {
 .domain-verification-token-container {

+ 0 - 1
services/web/locales/en.json

@@ -1644,7 +1644,6 @@
   "no_selection_select_file": "Currently, no file is selected. Please select a file from the file tree.",
   "no_selection_select_file": "Currently, no file is selected. Please select a file from the file tree.",
   "no_symbols_found": "No symbols found",
   "no_symbols_found": "No symbols found",
   "no_thanks_cancel_now": "No thanks, I still want to cancel",
   "no_thanks_cancel_now": "No thanks, I still want to cancel",
-  "no_token": "No token",
   "no_update_email": "No, update email",
   "no_update_email": "No, update email",
   "non_blinking_cursor": "Non-blinking cursor",
   "non_blinking_cursor": "Non-blinking cursor",
   "non_deletable_entity": "The specified entity may not be deleted",
   "non_deletable_entity": "The specified entity may not be deleted",