Skip to content

Commit

Permalink
Rename adoption style to description heading.
Browse files Browse the repository at this point in the history
  • Loading branch information
simi committed Jan 11, 2025
1 parent e8c5465 commit 449e141
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/modules/shared.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ span.github-btn {
font-weight: 800;
}

.adoption__heading {
.description__heading {
color: #e9573f;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class OIDC::IdToken::KeyValuePairsComponent < ApplicationComponent
def view_template
dl(class: "t-body provider_attributes full-width overflow-wrap") do
pairs.each do |key, val|
dt(class: "adoption__heading text-right") { code { key } }
dt(class: "description__heading text-right") { code { key } }
dd { code { val } }
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ class OIDC::TrustedPublisher::GitHubAction::TableComponent < ApplicationComponen

def view_template
dl(class: "tw-flex tw-flex-col sm:tw-grid sm:tw-grid-cols-2 tw-items-baseline tw-gap-4 full-width overflow-wrap") do
dt(class: "adoption__heading ") { "GitHub Repository" }
dt(class: "description__heading ") { "GitHub Repository" }
dd { code { github_action.repository } }

dt(class: "adoption__heading ") { "Workflow Filename" }
dt(class: "description__heading ") { "Workflow Filename" }
dd { code { github_action.workflow_filename } }

if github_action.environment?
dt(class: "adoption__heading") { "Environment" }
dt(class: "description__heading") { "Environment" }
dd { code { github_action.environment } }
end
end
Expand Down

0 comments on commit 449e141

Please sign in to comment.