pinakes-ui: streamline sidebar design
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I0176fa480e5ba40eea5a39685a4f97896a6a6964
This commit is contained in:
parent
3e14bbe607
commit
278bcaa4b0
25 changed files with 1805 additions and 1686 deletions
|
|
@ -194,10 +194,18 @@ pub fn ImageViewer(
|
|||
}
|
||||
}
|
||||
div { class: "image-viewer-toolbar-center",
|
||||
button { class: "iv-btn", onclick: cycle_fit, title: "Cycle fit mode",
|
||||
button {
|
||||
class: "iv-btn",
|
||||
onclick: cycle_fit,
|
||||
title: "Cycle fit mode",
|
||||
"{current_fit.label()}"
|
||||
}
|
||||
button { class: "iv-btn", onclick: zoom_out, title: "Zoom out", "\u{2212}" }
|
||||
button {
|
||||
class: "iv-btn",
|
||||
onclick: zoom_out,
|
||||
title: "Zoom out",
|
||||
"\u{2212}"
|
||||
}
|
||||
span { class: "iv-zoom-label", "{zoom_pct}%" }
|
||||
button { class: "iv-btn", onclick: zoom_in, title: "Zoom in", "+" }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue