Skip to content

Commit

Permalink
Changing the class naming for consistency to snake case with hyphens.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oglopf committed Jun 10, 2021
1 parent 6b4b784 commit f1a2eb8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/dashboard/app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ pre.motd-monospaced {

// Add branded panels

.sandboxAppsHeader {
.sandbox-apps-header {
background-color: $ood-burgundy;
color: $ood-white;
}

.systemAppsHeader {
.system-apps-header {
background-color: $ood-blue;
color: $ood-white;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="card <%= local_assigns.fetch(:style, "systemAppsHeader") %>">
<div class="card <%= local_assigns.fetch(:style, "system-apps-header") %>">
<div class="card-header"><%= title %></div>
<div class="list-group list-group-flush">
<%-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
title: "#{app_group.title}" + t('dashboard.batch_connect_sandbox'),
apps: app_group.apps,
current_url: local_assigns[:current_url],
style: "sandboxAppsHeader"
style: "sandbox-apps-header"
}
)
%>
Expand Down

0 comments on commit f1a2eb8

Please sign in to comment.