Skip to content

Commit 6e2f557

Browse files
committed
Improve .box shadow to be visible on all sides
Changed box-shadow to include a uniform shadow around the box with a subtle downward emphasis for a more natural appearance.
1 parent 8f92c55 commit 6e2f557

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/controllers/maintenance_tasks/application_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ApplicationController < MaintenanceTasks.parent_controller.constantize
1111
policy.style_src_elem(
1212
BULMA_CDN,
1313
# <style> tag in app/views/layouts/maintenance_tasks/application.html.erb
14-
"'sha256-Uhc2rCuqplhR7sM05OaAY3Fv+TFerqLtTOPdVycAIQ4='",
14+
"'sha256-b9tTK1UaF0U8792/A1vIUkeZwjPgECIOeKJdhYED06A='",
1515
)
1616
capybara_lockstep_scripts = [
1717
"'sha256-1AoN3ZtJC5OvqkMgrYvhZjp4kI8QjJjO7TAyKYiDw+U='",

app/views/layouts/maintenance_tasks/application.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
}
7777

7878
.box {
79-
box-shadow: 0 4px 6px -1px #0000001a,
80-
0 2px 4px -2px #0000001a;
79+
box-shadow: 0 0 6px 0 #0000001a,
80+
0 2px 4px -1px #0000001a;
8181
}
8282

8383
@media (prefers-color-scheme: dark) {

0 commit comments

Comments
 (0)