aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/WebBox.scss
diff options
context:
space:
mode:
authorJoanne <zehan_ding@brown.edu>2025-06-17 13:02:50 -0400
committerJoanne <zehan_ding@brown.edu>2025-06-17 13:02:50 -0400
commit2aa2c26b95a539d220e46b20cdfbef6ae39d6c43 (patch)
tree344a6f798f692fdd4921ab5a6762e907f5ad7b06 /src/client/views/nodes/WebBox.scss
parent430db63077868fa54829721d6530a810aa4d4588 (diff)
parentccfdf905400cd4b81d8cde0f16bb0e15cd65621b (diff)
Merge branch 'agent-paper-main' of https://github.com/brown-dash/Dash-Web into joanne-tutorialagent
Diffstat (limited to 'src/client/views/nodes/WebBox.scss')
-rw-r--r--src/client/views/nodes/WebBox.scss24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/client/views/nodes/WebBox.scss b/src/client/views/nodes/WebBox.scss
index 05d5babf9..77d7716f4 100644
--- a/src/client/views/nodes/WebBox.scss
+++ b/src/client/views/nodes/WebBox.scss
@@ -256,13 +256,37 @@
width: 100%;
height: 100%;
position: absolute;
+ pointer-events: all;
.indicator {
position: absolute;
+ transition: background-color 0.2s ease;
+ border-radius: 2px;
&.active {
background-color: rgba(0, 0, 0, 0.1);
+ box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}
}
}
+
+ // Add styles to hide font errors and improve user experience
+ .font-error-hidden {
+ font-family:
+ system-ui,
+ -apple-system,
+ BlinkMacSystemFont,
+ 'Segoe UI',
+ Roboto,
+ Arial,
+ sans-serif !important;
+ }
+
+ // Change iframe behavior when resource loading errors occur
+ iframe.webBox-iframe {
+ &.loading-error {
+ // Make full content accessible when external resources fail
+ pointer-events: all !important;
+ }
+ }
}