Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -278,4 +278,3 @@ RUN mv specifyweb.wsgi specifyweb_wsgi.py

CMD ["ve/bin/gunicorn", "-w", "3", "-b", "0.0.0.0:8000", "-t", "300", "specifyweb_wsgi"]


2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ volumes:
attachments: # the asset-servers attachment files
database: # the data directory for mariadb
static-files: # provides Specify 7 static files to the web server
webpack-output:
webpack-output:
2 changes: 1 addition & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
"forget to activate a virtual environment?"
)
raise
execute_from_command_line(sys.argv)
execute_from_command_line(sys.argv)
4 changes: 2 additions & 2 deletions specifyweb/frontend/js_src/lib/components/Atoms/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,9 @@ export const Select = wrap<
* the background in dark-mode. This is a fix:
*/
if (props.required !== true && props.multiple === true) {
selected.map((option) => option.classList.add('dark:bg-neutral-100'));
selected.map((option) => option.classList.add('dark:bg-neutral-500')); // highlights selected object less bright
unselected.map((option) =>
option.classList.remove('dark:bg-neutral-100')
option.classList.remove('dark:bg-neutral-500') // prevents a previously selected option from remaining highlighted
);
}
const value = (event.target as HTMLSelectElement).value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ exports[`<Select> select multiple calls onValuesChange 1`] = `
>
<option />
<option
class="dark:bg-neutral-100"
class="dark:bg-neutral-500"
value="a"
/>
<option
class="dark:bg-neutral-100"
class="dark:bg-neutral-500"
value="b"
/>
</select>
Expand Down