Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Commit

Permalink
Styling on hashtag & hashtag-list
Browse files Browse the repository at this point in the history
  • Loading branch information
xardass committed Nov 29, 2018
1 parent 6397075 commit cbda617
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
5 changes: 1 addition & 4 deletions src/pages/hashtag-list/hashtag-list-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
-->
<link rel="import" href="../../../bower_components/polymer/polymer-element.html">
<link rel="import" href="../../../bower_components/iron-image/iron-image.html">
<link rel="import" href="../../displays/display-divider.html">

<dom-module id="hashtag-list-item">
<template>
Expand All @@ -17,14 +16,12 @@
.container {
box-sizing: border-box;
padding: 25px 10vw 25px;
width: 100%;
cursor: pointer;
background-color: none;
transition: background-color 0.5s ease;
@apply --layout-horizontal;
}


.flex {
@apply --layout-flex;
}
Expand All @@ -49,6 +46,7 @@
.container[wide-layout] .deals {
@apply --body-default;
font-size: 14px;
box-sizing: border-box;
margin: 0 0 4px 20px;
}

Expand Down Expand Up @@ -91,7 +89,6 @@
</div>
<div class="right"></div>
</div>
<display-divider></display-divider>

</template>
<script>
Expand Down
6 changes: 6 additions & 0 deletions src/pages/hashtag-list/hashtag-list-router.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<link rel="import" href="../../displays/display-my-info.html">
<link rel="import" href="../../displays/display-icon-back.html">
<link rel="import" href="../../displays/display-hashtagadd-btn.html">
<link rel="import" href="../../displays/display-divider.html">
<link rel="import" href="./hashtag-list-item.html">

<dom-module id="page-hashtag-list">
Expand All @@ -36,6 +37,10 @@
margin-top: 120px;
}

display-divider {
width: 100%;
}

display-hashtagadd-btn {
position: fixed;
bottom: 50px;
Expand All @@ -56,6 +61,7 @@
<display-my-info avatarSmall path="{{path}}" on-wallet="_handleOnWallet" on-profile="_handleOnProfile"></display-my-info>
<template is="dom-repeat" items="[[hashtagList]]" filter="_showHashtag">
<hashtag-list-item item="[[item]]" on-hashtag="_handleOnHashtag"></hashtag-list-item>
<display-divider></display-divider>
</template>
<display-hashtagadd-btn on-tap="_newHashtag">
</display-hashtagadd-btn>
Expand Down
3 changes: 1 addition & 2 deletions src/pages/hashtag/hashtag-simpledeal.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
.container {
background-image: var(--sc-bg);
min-height: calc(100vh - 159px);
width: 100%;
margin-top: 159px;
max-width: 100vw;
}

.middle {
Expand All @@ -47,7 +47,6 @@

.container[wide-layout] {
padding: 0px 0 10px 10vw;
padding-right: 22vw;
margin-top: 159px;
}

Expand Down
2 changes: 1 addition & 1 deletion src/shared-styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@
}

--general-divider: {
width: 100vw;
width: 100%;
background-color: #dddddd;
opacity: 1;
height: 1px;
Expand Down

0 comments on commit cbda617

Please sign in to comment.