5
11
Fork
You've already forked tomato
1

Sort task logs on shift occurrence page #180

Merged
edwardloveall merged 3 commits from el-sort-task-log-admin into main 2026年06月30日 20:49:04 +02:00

I used the opportunity to refactor the task log form on the occurrence page to
use simple form. And got rid of one of our remaining slim templates.

But I also want to talk about the css I had to do to get the weight and temp
looking nice on the same line.

By default, inputs have a default width that they won't drop below. You have to
explicitly set the width on the input elements (or set min-width: 0) so that
they resize to their parents. I chose width: 100% because their parent element
.field was the correct size. I also had to set box-sizing so that their
padding wouldn't get added to the overall width.

I used the opportunity to refactor the task log form on the occurrence page to use simple form. And got rid of one of our remaining slim templates. But I also want to talk about the css I had to do to get the weight and temp looking nice on the same line. By default, inputs have a default width that they won't drop below. You have to explicitly set the width on the input elements (or set `min-width: 0`) so that they resize to their parents. I chose `width: 100%` because their parent element `.field` was the correct size. I also had to set `box-sizing` so that their padding wouldn't get added to the overall width.
Sort task logs on shift occurrence page
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
57d859659c
I used the opportunity to refactor the task log form on the occurrence page to
use simple form.
But I also want to talk about the css I had to do to get the weight and temp
looking nice on the same line.
By default, inputs have a default width that they won't drop below. You have to
explicitly set the width on the input elements (or set `min-width: 0`) so that
they resize to their parents. I chose `width: 100%` because their parent element
`.field` was the correct size. I also had to set `box-sizing` so that their
padding wouldn't get added to the overall width.
edwardloveall force-pushed el-sort-task-log-admin from 57d859659c
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
to e10043a368
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
2026年06月30日 17:05:22 +02:00
Compare
edwardloveall changed target branch from el-shift-juzh to main 2026年06月30日 17:05:26 +02:00
edwardloveall force-pushed el-sort-task-log-admin from e10043a368
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
to 13b8c7713b
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
2026年06月30日 17:44:50 +02:00
Compare
edwardloveall force-pushed el-sort-task-log-admin from 13b8c7713b
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
to 1f485a2039
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful
2026年06月30日 18:10:32 +02:00
Compare
edwardloveall deleted branch el-sort-task-log-admin 2026年06月30日 20:49:05 +02:00
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rootable/tomato!180
Reference in a new issue
rootable/tomato
No description provided.
Delete branch "el-sort-task-log-admin"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?