Skip to content

Commit

Permalink
fix styling anomaly with countdown circles view
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Nov 4, 2016
1 parent 09b97bf commit 4204878
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions framework/modules/countdown/views/countdown/show_circles.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,19 @@
{uniqueid prepend="countdown" assign="name"}

{css unique="countdown" link="`$asset_path`css/countdown.css"}

{literal}
#note{
max-width: 100%;
}
{/literal}
{/css}

<div class="module countdown show show_circles">

{if $moduletitle && !($config.hidemoduletitle xor $smarty.const.INVERT_HIDE_TITLE)}<{$config.heading_level|default:'h1'}>{$moduletitle}</{$config.heading_level|default:'h1'}>{/if}
{if !$config}
<strong style="color:red">{"To Display the 'Countdown' Module, you MUST First 'Configure Settings'"|gettext|cat:"!"}</strong>
{else}
{else}
{if $config.title}<h2 class="clocktitle">{$config.title}</h2>{/if}
{$date = explode('/',$config['date-count'])}
{if $config['ampm-count'] == 'pm'}{$hour = $config['time-h-count'] + 12}{else}{$hour = $config['time-h-count']}{/if}
Expand Down

0 comments on commit 4204878

Please sign in to comment.