Skip to content

Commit

Permalink
change plot div padding to vw from px
Browse files Browse the repository at this point in the history
  • Loading branch information
Niels1006 committed Feb 19, 2024
1 parent 67202ac commit 40e6557
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MINDFulPluto/src/static/scripts/SwitchViews.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ function reformatNotebook() {
cell.style.borderRadius = '16px';
cell.style.boxShadow = '0 4px 30px rgba(0, 0, 0, 0.1)';

cell.style.padding = '20px 20px 20px 20px';
cell.style.padding = '1vw 1vw 1vw 1vw';

//find element pluto-trafficlight
cell.querySelector('pluto-trafficlight').style.display = 'none';
Expand Down
6 changes: 3 additions & 3 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

julia_version = "1.10.0"
manifest_format = "2.0"
project_hash = "222b0e27afe33d3897c9ec4b74adb00311fe8574"
project_hash = "b0f25330c2f6778cbf70e077766d2e0cd5015ea7"

[[deps.AbstractFFTs]]
deps = ["LinearAlgebra"]
Expand Down Expand Up @@ -671,7 +671,7 @@ uuid = "87dc4568-4c63-4d18-b0c0-bb2238e4078b"
version = "1.8.0"

[[deps.HiGHS_jll]]
deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl"]
deps = ["Artifacts", "CompilerSupportLibraries_jll", "JLLWrappers", "Libdl", "Zlib_jll"]
git-tree-sha1 = "10bf0ecdf70f643bfc1948a6af0a98be3950a3fc"
uuid = "8fd58aa0-07eb-5a78-9b36-339c94fd15ea"
version = "1.6.0+0"
Expand Down Expand Up @@ -1059,7 +1059,7 @@ version = "0.1.0"

[[deps.MINDFulPluto]]
deps = ["GraphIO", "Graphs", "HypertextLiteral", "Logging", "MINDFul", "MINDFulMakie", "MetaGraphs", "NestedGraphs", "NestedGraphsIO", "Pluto", "PlutoUI", "PrecompileTools", "Revise", "Unitful", "WGLMakie"]
git-tree-sha1 = "0c3b025fc10b060f0e1017da2d117558fd66db80"
git-tree-sha1 = "3a26285f75a16502b53aa7a62b6c6026e77c79b5"
repo-rev = "main"
repo-url = "https://github.com/UniStuttgart-IKR/MINDFulPluto.jl"
uuid = "2169b6f5-785b-460d-ad6a-2192ac02d426"
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
WGLMakie = "276b4fcb-3e11-5398-bf8b-a0c2d153d008"

[compat]
MINDFulPluto = ">=0.1.0"
GraphMakie = "0.5.5"
MINDFul = "0.2"
MINDFulPluto = "0.1"
NestedGraphMakie = "0.1"
julia = "1.9, 1.10"

0 comments on commit 40e6557

Please sign in to comment.