mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-05 22:55:58 +00:00
Make notes more prominent. Fix heading in mail form
This commit is contained in:
parent
b8267f60c1
commit
6501060730
@ -1327,7 +1327,7 @@ renderNotes model =
|
|||||||
span [ class "hidden invisible" ] []
|
span [ class "hidden invisible" ] []
|
||||||
|
|
||||||
Just str ->
|
Just str ->
|
||||||
div [ class "ui segment" ]
|
div [ class "ui raised segment item-notes-display" ]
|
||||||
[ Markdown.toHtml [ class "item-notes" ] str
|
[ Markdown.toHtml [ class "item-notes" ] str
|
||||||
, a
|
, a
|
||||||
[ class "ui left corner label"
|
[ class "ui left corner label"
|
||||||
@ -1903,7 +1903,10 @@ renderMailForm model =
|
|||||||
, ( "invisible hidden", not model.mailOpen )
|
, ( "invisible hidden", not model.mailOpen )
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
[ div
|
[ h4 [ class "ui header" ]
|
||||||
|
[ text "Send this item via E-Mail"
|
||||||
|
]
|
||||||
|
, div
|
||||||
[ classList
|
[ classList
|
||||||
[ ( "ui dimmer", True )
|
[ ( "ui dimmer", True )
|
||||||
, ( "active", model.mailSending )
|
, ( "active", model.mailSending )
|
||||||
@ -1913,9 +1916,6 @@ renderMailForm model =
|
|||||||
[ text "Sending …"
|
[ text "Sending …"
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
, h4 [ class "ui header" ]
|
|
||||||
[ text "Send this item via E-Mail"
|
|
||||||
]
|
|
||||||
, Html.map ItemMailMsg (Comp.ItemMail.view model.itemMail)
|
, Html.map ItemMailMsg (Comp.ItemMail.view model.itemMail)
|
||||||
, div
|
, div
|
||||||
[ classList
|
[ classList
|
||||||
|
@ -70,6 +70,9 @@
|
|||||||
.default-layout .ui.segment .item-notes {
|
.default-layout .ui.segment .item-notes {
|
||||||
padding: 0 1em;
|
padding: 0 1em;
|
||||||
}
|
}
|
||||||
|
.default-layout .ui.segment.item-notes-display {
|
||||||
|
background: rgba(246, 255, 158, 0.4);
|
||||||
|
}
|
||||||
|
|
||||||
.default-layout .extracted-text {
|
.default-layout .extracted-text {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user