3 Commits

  1. 11
      CHANGELOG.md
  2. 5
      assets/css/_markdown.scss
  3. 3
      assets/css/app.scss
  4. 5
      lib/mirage_web/live/show_note_live.html.leex
  5. 2
      mix.exs

11
CHANGELOG.md

@ -5,6 +5,17 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.41.0](https://git.inhji.de/inhji/mirage/compare/v0.40.0...v0.41.0) (2021-02-17)
### Features:
* show domain for source links
* footnote styles
## [v0.40.0](https://git.inhji.de/inhji/mirage/compare/v0.39.1...v0.40.0) (2021-02-17)

5
assets/css/_markdown.scss

@ -106,4 +106,9 @@
background-color: var(--color-surface-var);
padding: 3px;
}
.footnote {
vertical-align: super;
font-size: 75%;
}
}

3
assets/css/app.scss

@ -106,7 +106,7 @@ a {
/* === Layout === */
.container { max-width: 60rem; }
.grid { display: flex; }
.grid, .flex { display: flex; }
.col, .spacer { flex: 1; }
main[role=main] {
@ -237,7 +237,6 @@ kbd {
}
a.link {
display: flex;
flex: 1;
}
}

5
lib/mirage_web/live/show_note_live.html.leex

@ -32,7 +32,10 @@
<%= for link <- @note.links do %>
<div class="link-wrapper">
<%= link link.title || link.url, to: link.url, class: "link" %>
<%= link to: link.url, class: "link" do %>
<span class="flex"><%= link.title || link.url %></span>
<span class="flex"><%= link.domain %></span>
<% end %>
<%= if @current_user do %>
<%= link "🗑️ DELETE", to: "#", phx_click: "delete_link", phx_value_link_id: link.id, data: [confirm: "Are you sure?"] %>
<% end %>

2
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.40.0"
@version "0.41.0"
def project do
[

Loading…
Cancel
Save