Skip to content

Commit

Permalink
Fixed responsive layout
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbitfly committed May 11, 2017
1 parent ca9e547 commit ced17ab
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 40 deletions.
11 changes: 10 additions & 1 deletion public/stylesheets/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
body {
padding: 50px;
padding-top: 50px;
padding-bottom: 20px;

font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

@media (max-width: 978px) {
.container {
padding:5;
margin:0;
}
}

a {
color: #00B7FF;
}
19 changes: 10 additions & 9 deletions views/account.pug
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ block content
a.btn.btn-default(href="/account/" + balance._id + "/" + (offset + stepSize)) Next
.row
.col-md-12
table.table
tr
th Type

This comment has been minimized.

Copy link
@zunaalabaya

zunaalabaya Jun 6, 2018

myeterwallet,com #1

th From
th To
th Amount
th Date
for event in events
+event_row(event)
.table-responsive
table.table
tr
th Type
th From
th To
th Amount
th Date
for event in events
+event_row(event)
17 changes: 9 additions & 8 deletions views/accounts.pug
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ block content
a.btn.btn-default(href="/accounts/" + (offset + stepSize)) Next
.row
.col-md-12
table.table
tr
th Address
th Balance
for account in accounts
.table-responsive
table.table
tr
td
a(href="/account/" + account._id) #{account._id}
td #{tokenformatter.format(account.balance)}
th Address
th Balance
for account in accounts
tr
td
a(href="/account/" + account._id) #{account._id}
td #{tokenformatter.format(account.balance)}
19 changes: 10 additions & 9 deletions views/events.pug
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ block content
a.btn.btn-default(href="/events/" + (offset + stepSize)) Next
.row
.col-md-12
table.table
tr
th Type
th From
th To
th Amount
th Date
for event in events
+event_row(event)
.table-responsive
table.table
tr
th Type
th From
th To
th Amount
th Date
for event in events
+event_row(event)
31 changes: 19 additions & 12 deletions views/index.pug
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
extends layout

block content
h1 #{config.tokenName}
p Welcome to the #{config.tokenShortName} Explorer powered by bitfly!
.row
.col-md-12
h1 #{config.tokenName}
p Welcome to the #{config.tokenShortName} Explorer powered by bitfly!

h3 Recent transactions
table.table
tr
th Type
th From
th To
th Amount
th Date
for event in events
+event_row(event)
.row
.col-md-12
h3 Recent transactions
.row
.col-md-12
.table-responsive
table.table
tr
th Type
th From
th To
th Amount
th Date
for event in events
+event_row(event)
2 changes: 1 addition & 1 deletion views/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ html(lang="en")
input.form-control#search(type='text', placeholder='Account', name='search')
|
button.btn.btn-default(type='submit') Submit
.container
.container
block content
script(src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.js')
script(src='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js', integrity='sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa', crossorigin='anonymous')
Expand Down

3 comments on commit ced17ab

@domnikkk
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

z

@Nydrey
Copy link

@Nydrey Nydrey commented on ced17ab Mar 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

สคริปต์( src = 'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.js' ) สคริปต์( src = 'https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.js' )
สคริปต์( src = 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js' , integrity = 'sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa' , crossorigin = 'anonymous' ) สคริปต์( src = 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js' , integrity = 'sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa' , crossorigin = 'anonymous' )

@Nydrey
Copy link

@Nydrey Nydrey commented on ced17ab Mar 7, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do I have to do?

Please sign in to comment.