From 773f40d4cc603a48550569f4dc5947c153b0f33b Mon Sep 17 00:00:00 2001 From: Frankie B Date: Wed, 25 Oct 2023 23:30:19 +0100 Subject: [PATCH] Fix wrapping on "Never said" box --- public/css/master.css | 2 +- public/js/neverSaid.js | 52 +++++++++++++++++++++--------------------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/public/css/master.css b/public/css/master.css index 9ce1c07..ed3bde8 100644 --- a/public/css/master.css +++ b/public/css/master.css @@ -387,7 +387,7 @@ .error-box p { color: var(--foreground) } -.never-said { +.never-said caption { width: 400px; } diff --git a/public/js/neverSaid.js b/public/js/neverSaid.js index 665094d..5b58d60 100644 --- a/public/js/neverSaid.js +++ b/public/js/neverSaid.js @@ -1,31 +1,31 @@ // Define an array of strings const neverSaid = [ - "ASM: The Director liked all the props we got today.", - "PM: Ah ha, a revolve. Terrific.", - "Chippie: I don't know, let's look at the ground plan.", - "Set Designer: Well, let's just have whatever is cheaper.", - "Sound: Better turn that down a bit. We don't want to deafen them.", - "Director: Sorry, my mistake.", - "Electrics: This equipment is more complicated than we need.", - "Performer: I really think my big scene should be cut.", - "SM: Can we doo that scene change again please?", - "LX designer: Bit more light from those big chaps at the side. Yes that's right, the ones on stalks whatever they are called.", - "Electrics: All the equipment works perfectly.", - "Musicians: So what if that's the end of a call. Let's just finish this bit off.", - "Wardrobe: Now, when exactly is the first dress rehearsal?", - "Workshop: I don't want anyone to know, but if you insist then yes, I admit it, I have just done an all-nighter.", - "Performer: This costume is so comfortable.", - "Admin: The level of overtime payments here are simply unacceptable. Our backstage staff deserve better.", - "Box Office: Comps? No problem.", - "Set Designer: You're right, it looks dreadful.", - "Flyman: No, my lips are sealed. What I may or may not have seen remains a secret.", - "Electrics: That had nothing to do with the computer, it was my fault.", - "Crew: No, no, I'm sure that's our job.", - "SMgt: Thanks, but I don't drink", - "Performer: Let me stand down here with my back to the audience.", - "Chippie: I can't really manage those big fast power tools myself.", - "Chippie: I prefer to use these little hand drills.", - "All: Let's go and ask the Production Manager. He'll know." + "ASM: The Director liked all the props we got today.", + "PM: Ah ha, a revolve. Terrific.", + "Chippie: I don't know, let's look at the ground plan.", + "Set Designer: Well, let's just have whatever is cheaper.", + "Sound: Better turn that down a bit. We don't want to deafen them.", + "Director: Sorry, my mistake.", + "Electrics: This equipment is more complicated than we need.", + "Performer: I really think my big scene should be cut.", + "SM: Can we doo that scene change again please?", + "LX designer: Bit more light from those big chaps at the side. Yes that's right, the ones on stalks whatever they are called.", + "Electrics: All the equipment works perfectly.", + "Musicians: So what if that's the end of a call. Let's just finish this bit off.", + "Wardrobe: Now, when exactly is the first dress rehearsal?", + "Workshop: I don't want anyone to know, but if you insist then yes, I admit it, I have just done an all-nighter.", + "Performer: This costume is so comfortable.", + "Admin: The level of overtime payments here are simply unacceptable. Our backstage staff deserve better.", + "Box Office: Comps? No problem.", + "Set Designer: You're right, it looks dreadful.", + "Flyman: No, my lips are sealed. What I may or may not have seen remains a secret.", + "Electrics: That had nothing to do with the computer, it was my fault.", + "Crew: No, no, I'm sure that's our job.", + "SMgt: Thanks, but I don't drink", + "Performer: Let me stand down here with my back to the audience.", + "Chippie: I can't really manage those big fast power tools myself.", + "Chippie: I prefer to use these little hand drills.", + "All: Let's go and ask the Production Manager. He'll know." ] // Generate a random index into the array