@graphty/visual-review 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -117,6 +117,25 @@ button.primary {
117
117
  color: #fff;
118
118
  }
119
119
 
120
+ /* The page's own confirmation (ask in review.js), in place of the browser's confirm(). */
121
+ dialog.ask {
122
+ max-width: min(640px, calc(100vw - 32px));
123
+ border: 1px solid var(--line);
124
+ border-radius: 6px;
125
+ background: var(--card);
126
+ color: var(--fg);
127
+ }
128
+
129
+ dialog.ask p:first-child {
130
+ white-space: pre-wrap;
131
+ }
132
+
133
+ dialog.ask .actions {
134
+ display: flex;
135
+ gap: 8px;
136
+ justify-content: flex-end;
137
+ }
138
+
120
139
  button.accept {
121
140
  border-color: var(--ok);
122
141
  color: var(--ok);