aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets_src/css/materialize_extend.css9
-rw-r--r--views/includes/card.html2
2 files changed, 5 insertions, 6 deletions
diff --git a/assets_src/css/materialize_extend.css b/assets_src/css/materialize_extend.css
index 64b58e2..46f92ee 100644
--- a/assets_src/css/materialize_extend.css
+++ b/assets_src/css/materialize_extend.css
@@ -16,9 +16,8 @@ span.badge.new.no-caption::after {
16 max-width: 400px; 16 max-width: 400px;
17} 17}
18 18
19.flex .flex-card .pull-down { 19.flex .flex-card .card {
20 position: absolute; 20 display: flex;
21 bottom: 0; 21 flex-direction: column;
22 left: 0; 22 justify-content: space-between;
23 width: 100%;
24} 23}
diff --git a/views/includes/card.html b/views/includes/card.html
index 457eef9..41ad2ce 100644
--- a/views/includes/card.html
+++ b/views/includes/card.html
@@ -11,7 +11,7 @@
11 <span class="card-title valign-wrapper">{{ $card.Title | html }}{{ if $card.SubTitle }}{{ $card.SubTitle | html }}{{ end }}</span> 11 <span class="card-title valign-wrapper">{{ $card.Title | html }}{{ if $card.SubTitle }}{{ $card.SubTitle | html }}{{ end }}</span>
12 <p>{{ $card.Description | html }}</p> 12 <p>{{ $card.Description | html }}</p>
13 </div> 13 </div>
14 <div class="card-action"> 14 <div class="card-action pull-down">
15 {{ range $action := $card.Actions }} 15 {{ range $action := $card.Actions }}
16 {{ if $action.Disabled }} 16 {{ if $action.Disabled }}
17 <span>{{ $action.Name | html }}</span> 17 <span>{{ $action.Name | html }}</span>