Remove styles from export
Some checks failed
/ Run tests (push) Successful in 1m44s
/ Run system tests (push) Failing after 2m1s
/ Build, push and deploy image (push) Successful in 1m29s

This commit is contained in:
david 2024-11-17 02:44:04 +01:00
parent 13755bacdb
commit 0a48759576
2 changed files with 6 additions and 19 deletions

View file

@ -1,13 +1,3 @@
css:
.trix-content:has(*) {
font-family: "Serif";
border: solid white 1px;
padding: 1rem;
}
dd {
margin-left: 10rem;
}
/nav
= link_to(@report.name, "##{dom_id(@report)}")
ul
@ -31,7 +21,7 @@ css:
- @failed_success_criteria.group_by(&:check).each do |check, scs|
li = link_to(check.display_label)
h1 id=dom_id(@report) = @report.name
h1.title id=dom_id(@report) = @report.name
h2 1 Einschätzung
p Gibt es hier Text?
@ -74,12 +64,11 @@ h2 2 Protokoll
strong WCAG
.body_text = link_to(sc.check.external_number, sc.check.external_url)
h2 3 Anhang
h3 3.1 Liste der zu beachtenden WCAG Regeln
h2 3 Anhang: Liste der zu beachtenden WCAG Regeln
- counter = 0
- @failed_success_criteria.group_by(&:check).sort_by{ |c, scs| c.number }.each do |check, scs|
h4 = check.display_label
- counter += 1
h3 = "3.#{counter}. #{check.name_de}"
- safe_display(check.external_number) do
strong WCAG Nummer
.body_text = _1

View file

@ -1,12 +1,10 @@
doctype html
html data-bs-theme="light" data-controller="set-theme"
html
head
title a11ydive Export
meta[name="viewport" content="width=device-width,initial-scale=1"]
= csrf_meta_tags
= csp_meta_tag
= stylesheet_link_tag "exports", "data-turbo-track": "reload"
= javascript_include_tag "application", "data-turbo-track": "reload", type: "module"
body
main.container#main-content
= yield