From 70b72fd19760fb4b50e121a8cb15e7b6e8ff69a5 Mon Sep 17 00:00:00 2001 From: "LAPTOP-CTLLJBUM\\man_l" Date: Fri, 30 Sep 2022 15:41:27 +0100 Subject: [PATCH 1/2] DLSV2-643 Alignment issue when viewed in 'mobile view' when adding a resource on the 'Add Competency Learning Resource' page --- .../Styles/frameworks/frameworksAddLearningResource.scss | 6 ++++++ .../Developer/AddCompetencyLearningResources.cshtml | 1 + 2 files changed, 7 insertions(+) create mode 100644 DigitalLearningSolutions.Web/Styles/frameworks/frameworksAddLearningResource.scss diff --git a/DigitalLearningSolutions.Web/Styles/frameworks/frameworksAddLearningResource.scss b/DigitalLearningSolutions.Web/Styles/frameworks/frameworksAddLearningResource.scss new file mode 100644 index 0000000000..5ccd571de7 --- /dev/null +++ b/DigitalLearningSolutions.Web/Styles/frameworks/frameworksAddLearningResource.scss @@ -0,0 +1,6 @@ + +@media (max-width: 40.0525em) { + .nhsuk-button { + margin-top: 0; + } +} diff --git a/DigitalLearningSolutions.Web/Views/Frameworks/Developer/AddCompetencyLearningResources.cshtml b/DigitalLearningSolutions.Web/Views/Frameworks/Developer/AddCompetencyLearningResources.cshtml index 54386f9c98..61c2698229 100644 --- a/DigitalLearningSolutions.Web/Views/Frameworks/Developer/AddCompetencyLearningResources.cshtml +++ b/DigitalLearningSolutions.Web/Views/Frameworks/Developer/AddCompetencyLearningResources.cshtml @@ -14,6 +14,7 @@ } + @section NavMenuItems { From 16528399e0cf7c6818f22949dffb86e4bfbeb336 Mon Sep 17 00:00:00 2001 From: "LAPTOP-CTLLJBUM\\man_l" Date: Thu, 6 Oct 2022 10:59:56 +0100 Subject: [PATCH 2/2] chnages as per recived review from kevin and added media query for text-wrap css as it was having an issue in css --- .../Styles/frameworks/frameworksAddLearningResource.scss | 6 ------ .../Styles/frameworks/frameworksShared.scss | 4 ++++ .../Developer/AddCompetencyLearningResources.cshtml | 1 - .../Frameworks/Developer/_SignpostingResourceCard.cshtml | 6 +++--- 4 files changed, 7 insertions(+), 10 deletions(-) delete mode 100644 DigitalLearningSolutions.Web/Styles/frameworks/frameworksAddLearningResource.scss diff --git a/DigitalLearningSolutions.Web/Styles/frameworks/frameworksAddLearningResource.scss b/DigitalLearningSolutions.Web/Styles/frameworks/frameworksAddLearningResource.scss deleted file mode 100644 index 5ccd571de7..0000000000 --- a/DigitalLearningSolutions.Web/Styles/frameworks/frameworksAddLearningResource.scss +++ /dev/null @@ -1,6 +0,0 @@ - -@media (max-width: 40.0525em) { - .nhsuk-button { - margin-top: 0; - } -} diff --git a/DigitalLearningSolutions.Web/Styles/frameworks/frameworksShared.scss b/DigitalLearningSolutions.Web/Styles/frameworks/frameworksShared.scss index f9cf14a69b..c9bb4b8b12 100644 --- a/DigitalLearningSolutions.Web/Styles/frameworks/frameworksShared.scss +++ b/DigitalLearningSolutions.Web/Styles/frameworks/frameworksShared.scss @@ -243,4 +243,8 @@ h1.truncate-overflow::after { .text-wrap { inline-size: 882px; overflow-wrap: break-word; + + @media (max-width: 40.0525em) { + inline-size: 305px; + } } diff --git a/DigitalLearningSolutions.Web/Views/Frameworks/Developer/AddCompetencyLearningResources.cshtml b/DigitalLearningSolutions.Web/Views/Frameworks/Developer/AddCompetencyLearningResources.cshtml index 61c2698229..54386f9c98 100644 --- a/DigitalLearningSolutions.Web/Views/Frameworks/Developer/AddCompetencyLearningResources.cshtml +++ b/DigitalLearningSolutions.Web/Views/Frameworks/Developer/AddCompetencyLearningResources.cshtml @@ -14,7 +14,6 @@ } - @section NavMenuItems { diff --git a/DigitalLearningSolutions.Web/Views/Frameworks/Developer/_SignpostingResourceCard.cshtml b/DigitalLearningSolutions.Web/Views/Frameworks/Developer/_SignpostingResourceCard.cshtml index 743c3d2de6..e03d01df63 100644 --- a/DigitalLearningSolutions.Web/Views/Frameworks/Developer/_SignpostingResourceCard.cshtml +++ b/DigitalLearningSolutions.Web/Views/Frameworks/Developer/_SignpostingResourceCard.cshtml @@ -39,11 +39,11 @@ @catalogue
- Preview -