Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#51698] use primer css instead of custom class

Eric Schubertd7dacce331bc
diff --git a/modules/storages/app/components/storages/admin/oauth_application_info_component.html.erb b/modules/storages/app/components/storages/admin/oauth_application_info_component.html.erb
index 7c19168c623..f3fbfa3abcc 100644
--- a/modules/storages/app/components/storages/admin/oauth_application_info_component.html.erb
+++ b/modules/storages/app/components/storages/admin/oauth_application_info_component.html.erb
@@ -6,7 +6,7 @@
end
grid.with_area(:description,
- classes: 'break-word',
+ classes: 'wb-break-word',
tag: :div,
color: :subtle,
test_selector: 'storage-openproject-oauth-application-description') do
diff --git a/modules/storages/app/components/storages/admin/oauth_client_info_component.html.erb b/modules/storages/app/components/storages/admin/oauth_client_info_component.html.erb
index 38109db911e..1ac8f96901b 100644
--- a/modules/storages/app/components/storages/admin/oauth_client_info_component.html.erb
+++ b/modules/storages/app/components/storages/admin/oauth_client_info_component.html.erb
@@ -10,7 +10,7 @@
end
grid.with_area(:description,
- classes: 'break-word',
+ classes: 'wb-break-word',
tag: :div,
color: :subtle,
test_selector: 'storage-oauth-client-id-description') do
diff --git a/modules/storages/app/components/storages/admin/storage_view_component.sass b/modules/storages/app/components/storages/admin/storage_view_component.sass
index 3a0d1817f47..9567cf3d246 100644
--- a/modules/storages/app/components/storages/admin/storage_view_component.sass
+++ b/modules/storages/app/components/storages/admin/storage_view_component.sass
@@ -2,9 +2,3 @@
display: grid
grid-template-columns: 3fr 1fr
grid-template-areas: "item icon-button" "description icon-button"
-
-// A very specific handling for single grid cells in the storage grid, that contain credentials.
-// Those are long strings and must be shown not shortened, but broken down to fit in narrow screens.
-.break-word
- overflow: hidden
- word-wrap: break-word