Skip to content

Commit 2e23218

Browse files
committed
fixed suss button
1 parent 101e893 commit 2e23218

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

public/stylesheets/app.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,11 @@ h1 span{
9999
margin: 0;
100100
}
101101
.code-section{
102+
position: relative;
102103
background-color: #333;
103104
float: left;
104105
width: 100%;
105-
height: 100%;
106+
max-height: 100%;
106107
}
107108
.notifications{
108109
display: none; /* TODO find a place*/
@@ -136,6 +137,7 @@ h1 span{
136137
.code-container textarea{
137138
width: 100%;
138139
height: 80%;
140+
overflow: hidden;
139141
padding: 60px 30px 20px 30px;
140142
font-family: inherit;
141143
font-size: 14px;
@@ -202,7 +204,7 @@ h1 span{
202204
.button.scss{
203205
border-top-right-radius: 55px;
204206
border-top-left-radius: 55px;
205-
background-image: url("/images/sass-icon.svg");
207+
background-image: url("/images/scss-icon.svg");
206208
background-position: center bottom 20px;
207209
}
208210
.code-actions .button:hover{

views/index.haml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,10 @@
2121
%label{:for => "page_css"}
2222
CSS (paste your CSS code and convert!)
2323
%textarea{:id => "page_css", :name => "page[css]"}=h @css || ""
24-
25-
26-
2724
.code-container.right
2825
%label{:for => "page_sass"}
2926
Your Syntactically Awesome StyleSheets code
3027
%textarea{:id => "page_sass", :name => "page[sass]"}=h @output || ""
31-
3228
.code-actions
33-
%input.button.scss{:type => "submit", :name => "commit", :value => "Convert 2 SCSS"}
34-
%input.button.sass{:type => "submit", :name => "commit", :value => "Convert 2 SASS"}
29+
%input.button.sass{:type => "submit", :name => "commit", :value => "Convert 2 SASS"}
30+
%input.button.scss{:type => "submit", :name => "commit", :value => "Convert 2 SCSS"}

0 commit comments

Comments
 (0)