From 45f2b9d9f4a84023df2ac4fa18c992a5d698a4f4 Mon Sep 17 00:00:00 2001 From: Ana Botto Date: Tue, 28 Nov 2023 16:49:29 +0000 Subject: [PATCH] Fix wrapping in words and adds green to start --- app/controllers/mermaid_controller.rb | 1 - app/views/mermaid/index.html.erb | 11 +++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/app/controllers/mermaid_controller.rb b/app/controllers/mermaid_controller.rb index 61f0ec8a6..6f98eae1e 100644 --- a/app/controllers/mermaid_controller.rb +++ b/app/controllers/mermaid_controller.rb @@ -1,5 +1,4 @@ # frozen_string_literal: true class MermaidController < ApplicationController - end diff --git a/app/views/mermaid/index.html.erb b/app/views/mermaid/index.html.erb index 1b6e557ca..143778ee6 100644 --- a/app/views/mermaid/index.html.erb +++ b/app/views/mermaid/index.html.erb @@ -10,7 +10,7 @@ 'lineColor': '#0b0c0c', 'secondaryColor': '#006100', 'tertiaryColor': '#fff', - 'fontSize': '19px' + 'fontSize': '23.75px' } } }%% @@ -18,7 +18,7 @@ flowchart TD accTitle: Flowchart for Driving in Great Britain on a non-GB licence accDescr: A flowchart for the Driving in Great Britain on a non-GB licence smart answer - AA["`Start`"]:::start + AA[Start]:::start A["`Q1 Are you:`"]:::question B["`Q2 What kind of driving licence do you have?`"]:::question C["`Q3 Where did you pass your test?`"]:::question @@ -120,14 +120,17 @@ classDef answer fill: #F3F2F1, stroke:#505A5F; classDef outcome fill: #6FA4D2 classDef question fill: #B1B4B6, stroke:#505A5F; - classDef start fill:#44ADA5 + classDef start fill:#00703c,color: #ffffff