From b0192ceadbf39064a949a88969a8ba4045495c46 Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Thu, 1 Mar 2018 01:38:56 +0530 Subject: [PATCH] style fix for section images --- datacenterlight/cms_models.py | 4 ++-- datacenterlight/static/datacenterlight/css/landing-page.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/datacenterlight/cms_models.py b/datacenterlight/cms_models.py index 3a5c4e88..2e708a20 100644 --- a/datacenterlight/cms_models.py +++ b/datacenterlight/cms_models.py @@ -46,8 +46,8 @@ class DCLLinkPluginModel(CMSPlugin): class DCLNavbarDropdownPluginModel(CMSPlugin): - target = models.URLField( - blank=True, null=True, max_length=100, + target = models.CharField( + max_length=100, help_text='Optional Url or #id to navigate on click' ) text = models.CharField( diff --git a/datacenterlight/static/datacenterlight/css/landing-page.css b/datacenterlight/static/datacenterlight/css/landing-page.css index 91fde358..6d1c7d56 100755 --- a/datacenterlight/static/datacenterlight/css/landing-page.css +++ b/datacenterlight/static/datacenterlight/css/landing-page.css @@ -430,7 +430,7 @@ textarea { text-align: center; } -.section-figure .cms-plugin { +.section-figure .section-image { padding: 10px; flex-basis: 50%; flex-grow: 1;