Skip to content

Commit b8a4460

Browse files
author
Louis Tariot
committed
feat: image for button
1 parent 29b47cd commit b8a4460

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/app/learnocaml_index_main.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -642,8 +642,8 @@ let set_string_translations () =
642642
List.iter
643643
(fun (el, text) ->
644644
(Tyxml_js.To_dom.of_input el)##.placeholder := Js.string text)
645-
placeholder_translations
646-
645+
placeholder_translations;
646+
Manip.SetHTMLElement.title (find_component "learnocaml-main-feedback") [%i"Send Feedback"]
647647

648648
let () =
649649
Lwt.async_exception_hook := begin fun e ->

static/css/learnocaml_main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ body {
174174
background: linear-gradient(to bottom, #bbb 0%, #888 100%);
175175
border-radius: 5px;
176176
padding: 5px;
177-
width: 22px;
177+
width: 18px;
178178
margin-top: 10px;
179179
margin-left: 17px;
180180
box-shadow: 0 0 10px 2px rgba(0,0,0,0.4);
@@ -234,7 +234,7 @@ body {
234234
color: #fff;
235235
border-radius: 5px;
236236
padding: 5px;
237-
width: 22px;
237+
width: 18px;
238238
margin-top: 10px;
239239
margin-left: 10px;
240240
box-shadow: 0 0 10px 2px rgba(0,0,0,0.4);

static/icons/icon_feedback.svg

Lines changed: 3 additions & 3 deletions
Loading

0 commit comments

Comments
 (0)