Skip to content

Commit

Permalink
Merge pull request #16 from jrogers-hedgeye/fix-experiments
Browse files Browse the repository at this point in the history
Fix experiments
  • Loading branch information
jrogers-hedgeye authored Sep 13, 2024
2 parents f607714 + 4042a67 commit 203fe78
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
phlex_storybook (0.3.1)
phlex_storybook (0.4.0)
importmap-rails
phlex-icons (~> 0.11.0)
phlex-rails (~> 1.2)
Expand Down
4 changes: 2 additions & 2 deletions lib/phlex_storybook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def experiment(name)
end

def experiment_template(name)
file = Engine.root.join("lib", "phlex_storybook", "tasks", "sample_experiment.rb")
File.read(file).gsub("SampleExperiment", name.split("::").map(&:classify).join("::"))
file = Engine.root.join("lib", "phlex_storybook", "tasks", "sample_component.rb")
File.read(file).gsub("SampleComponent", name.split("::").map(&:classify).join("::"))
end

def experiments
Expand Down
5 changes: 0 additions & 5 deletions lib/phlex_storybook/assets/phlex_storybook_application.css
Original file line number Diff line number Diff line change
Expand Up @@ -1124,11 +1124,6 @@ fieldset{
padding-right: 0px;
}

.px-1{
padding-left: 0.25rem;
padding-right: 0.25rem;
}

.px-2{
padding-left: 0.5rem;
padding-right: 0.5rem;
Expand Down
2 changes: 1 addition & 1 deletion lib/phlex_storybook/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module PhlexStorybook
VERSION = "0.3.1"
VERSION = "0.4.0"
end

0 comments on commit 203fe78

Please sign in to comment.