-
Notifications
You must be signed in to change notification settings - Fork 30
Several UI fixes #136
Several UI fixes #136
Changes from 14 commits
887ad14
37b24b2
d02f88a
0f93b74
8f51bb2
ba6abc7
21f01fa
2ced05c
c7e72dd
cd0f64d
f178ffc
491319a
cb678de
69e51c1
d6cda23
c4b06a8
028e14b
e1004f5
5bac778
c23a557
02fe1e8
91420c9
cf8a773
08e477f
b73ca8c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
font-size: 1.5rem | ||
display: flex | ||
background-color: #40415A | ||
padding: 0.5rem | ||
padding: 0.8rem 1rem | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Dacexi can you review this one? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @RekkyRek I'd be grateful if you did! |
||
.addMention | ||
display: flex | ||
align-items: center | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,13 +39,15 @@ | |
margin-top: 5rem | ||
font-size: 1.3rem | ||
.items_container | ||
overflow-x: hidden | ||
overflow-y: scroll | ||
overflow-x: hidden | ||
position: relative | ||
overflow: auto | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sometimes some rants cause overflow-x issues. It would be better to keep it the way it is. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nope, it's not. I think I know what you're referring to. Instead of or better - https://stackoverflow.com/a/18706058/1454514 TL;DR: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can add word-break: break-all; but it is still better to keep overflow-x hidden. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tahnik I hear you, but it causes problems with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @DRSDavidSoft break-all causes some other problems. For example, it also breaks words which look horrible. box-shadow looks fine now so have a look. |
||
overflow-x: visible | ||
transform: translateZ(0) | ||
-webkit-transform: translateZ(0) | ||
padding: 0rem 0rem 1rem 0rem | ||
height: calc(100vh - 2.8rem - 1.5rem) | ||
padding: 0 10px | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is causing the column not to align with the topbar. Is this what you intended? I don't think that looks nice. Maybe @Dacexi can confirm it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tahnik Can you post a screenshot from before and after please? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I fixed it in another commit. |
||
height: 100vh | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't make it 100vh please. Keep some padding in the bottom. This can cause side effects. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tahnik Tested with some other situations, I agree. |
||
.item_column | ||
position: relative | ||
.column_topbar | ||
height: 30px | ||
overflow: hidden | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ | |
button | ||
flex: 2 | ||
.comments_container | ||
padding: 0 0.5rem | ||
h4 | ||
text-align: center | ||
color: white | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,14 +2,15 @@ | |
|
||
.user_compact | ||
//background: url(./../images/empty_avatar.png) | ||
background-size: 100% 100% !important | ||
background-size: cover !important | ||
background-repeat: no-repeat !important | ||
position: relative | ||
display: flex | ||
align-items: center | ||
justify-content: center | ||
flex-direction: column | ||
padding: 1rem | ||
padding-bottom: 2rem | ||
.user_bg_tint | ||
position: absolute | ||
top: 0px | ||
|
@@ -51,8 +52,8 @@ | |
cursor: pointer | ||
.logout | ||
position: absolute | ||
bottom: 5px | ||
left: 10px | ||
bottom: 10px | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is causing the shadow in the back to misalign There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. change to 0.25rem There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. Initially I used |
||
left: 1.5rem | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. change to 0.5rem instead. Looks a bit odd when it's so high up. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you referring to the |
||
font-size: 1.5rem | ||
z-index: 300 | ||
display: flex | ||
|
@@ -63,12 +64,12 @@ | |
i | ||
text-shadow: 0px 0px 4px rgba(0,0,0,0.4) | ||
&:hover::after | ||
margin-left: 0.2rem | ||
margin-left: 0.4rem | ||
opacity: 1 | ||
text-shadow: 0px 0px 4px rgba(0,0,0,0.4) | ||
&::after | ||
content: attr(data-text) | ||
font-size: 1rem | ||
margin-left: -1.4rem | ||
font-size: 1.1rem | ||
margin-left: -0.6rem | ||
opacity: 0 | ||
transition: opacity 0.2s, margin-left 0.2s | ||
transition: opacity 0.2s, margin-left 0.2s |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
margin-bottom: 1rem | ||
border-radius: 3px | ||
transition: all 0.2s ease | ||
margin-right: 0.5rem | ||
position: relative | ||
.body_container | ||
.top_container | ||
|
@@ -41,7 +40,7 @@ | |
width: 100% | ||
.item_card.shadow | ||
&:hover | ||
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23) | ||
box-shadow: 0 2px 0px rgba(0, 0, 0, 0.19), 0 3px 4px rgba(0, 0, 0, 0.23) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't think it's looking nice either. Looks more like a black border than a shadow. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tahnik, OK, let's keep the previous one, but please make sure it has enough |
||
.body_container | ||
&:hover | ||
cursor: pointer | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We really need this, but this doesn't work for some reason. Can you check?
Edit: The reason is this is a div, not a form. So onSubmit won't be triggered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not change it to a
form
? It makes senseOtherwise, we should write a handler on both fields to check
e.which == 13
onkeypress
, which I don't recommendThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have recently fixed it using keyDownEvent. so don't worry about this one.