Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIXED] Enhancement of pain scale value and badge position #7795

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Components/CriticalCareRecording/components/Slider.res
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ let make = (

<>
<section className={"slider-box " ++ className}>
<div className="slider-head flex justify-between flex-col sm:flex-row sm:items-center">
<div className=`slider-head flex justify-${title != "" ? "between" : "center"} flex-col sm:flex-row sm:items-center`>
<div className="flex items-center">
<h1 className="m-2"> {title->str} </h1> titleNeighbour
</div>
<div className="flex flex-col items-end mt-2 sm:mt-0">
<div className=`flex flex-col items-${title != "" ? "end" : "center"} mt-2 sm:mt-0`>
<label htmlFor="measure" style={ReactDOM.Style.make(~color=textColor, ())}>
{switch value->Belt.Float.fromString {
| Some(_) => text->str
Expand Down
Loading