Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 81dd2a0

Browse files
author
samsep
committed
add margin top for hideUserInfo view in image viewer
1 parent 2cb962e commit 81dd2a0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/styles/image-viewer-header.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ image-viewer-header {
2424
.user {
2525
min-width: 240px;
2626

27+
&.noAvatar {
28+
margin-top: 5px;
29+
}
30+
2731
.titles {
2832
text-align: left;
2933
margin-left: 15px;

src/views/image-viewer-header.directive.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
main.flex.column.light-bg
22
.header.flex.middle.space-between
3-
.user.flex.middle
3+
.user.flex.middle(ng-class="{noAvatar: vm.handle && vm.hideUserInfo}")
44
a(href="{{vm.generateProfileUrl(vm.handle)}}" target="_blank" ng-if="vm.handle && !vm.hideUserInfo")
55
avatar(avatar-url="{{ vm.avatar }}")
66

0 commit comments

Comments
 (0)