mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-04 06:05:59 +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" ] []
|
||||
|
||||
Just str ->
|
||||
div [ class "ui segment" ]
|
||||
div [ class "ui raised segment item-notes-display" ]
|
||||
[ Markdown.toHtml [ class "item-notes" ] str
|
||||
, a
|
||||
[ class "ui left corner label"
|
||||
@ -1903,7 +1903,10 @@ renderMailForm model =
|
||||
, ( "invisible hidden", not model.mailOpen )
|
||||
]
|
||||
]
|
||||
[ div
|
||||
[ h4 [ class "ui header" ]
|
||||
[ text "Send this item via E-Mail"
|
||||
]
|
||||
, div
|
||||
[ classList
|
||||
[ ( "ui dimmer", True )
|
||||
, ( "active", model.mailSending )
|
||||
@ -1913,9 +1916,6 @@ renderMailForm model =
|
||||
[ text "Sending …"
|
||||
]
|
||||
]
|
||||
, h4 [ class "ui header" ]
|
||||
[ text "Send this item via E-Mail"
|
||||
]
|
||||
, Html.map ItemMailMsg (Comp.ItemMail.view model.itemMail)
|
||||
, div
|
||||
[ classList
|
||||
|
@ -70,6 +70,9 @@
|
||||
.default-layout .ui.segment .item-notes {
|
||||
padding: 0 1em;
|
||||
}
|
||||
.default-layout .ui.segment.item-notes-display {
|
||||
background: rgba(246, 255, 158, 0.4);
|
||||
}
|
||||
|
||||
.default-layout .extracted-text {
|
||||
font-family: monospace;
|
||||
|
Loading…
x
Reference in New Issue
Block a user