Commit 0b4f1c0
committed
Properly scope the
Currently that style is defined in the `system.scss` and is not scoped.
As a result it applies to most content generator pages of webwork2. In
particular it applies to problem pages, and thus it affects draggable
proof problems which use the same sortablejs library with that same css
class.
Note that a related pull request to PG will change the styles for drag
and drop problems and this conflicts with that. This is probably
already a problem because the opacity of 0.5 does make the drag and drop
elements in problems lack sufficient contrast. Although it only occurs
during a mouse drag and in that situation perhaps that contrast is not
necessary. Still I think there is a better way to do this for problems.
On a related note to the PG pull request, perhaps at some point keyboard
support should be added for reorganizing problems on the problem set
detail page..sortable-ghost style for the problem set detail page.1 parent 983c1c6 commit 0b4f1c0
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
942 | 942 | | |
943 | 943 | | |
944 | 944 | | |
945 | | - | |
946 | | - | |
947 | | - | |
948 | | - | |
949 | 945 | | |
950 | 946 | | |
951 | 947 | | |
952 | 948 | | |
953 | 949 | | |
954 | 950 | | |
955 | 951 | | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
956 | 956 | | |
957 | 957 | | |
958 | 958 | | |
| |||
0 commit comments