Skip to content

Commit dbac2e2

Browse files
committed
tweak spacing of label on lightbox
1 parent 8eaa96b commit dbac2e2

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎src/skins/vector/css/atoms/ImageView.css‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ limitations under the License.
9595

9696
.mx_ImageView_download {
9797
display: table;
98-
margin-top: 28px;
98+
margin-top: 24px;
99+
margin-bottom: 6px;
99100
border-radius: 5px;
100101
background-color: #454545;
101102
font-size: 16px;
@@ -107,7 +108,7 @@ limitations under the License.
107108
.mx_ImageView_button {
108109
font-size: 16px;
109110
opacity: 0.5;
110-
margin-top: 24px;
111+
margin-top: 18px;
111112
cursor: pointer;
112113
}
113114

‎src/skins/vector/views/atoms/ImageView.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ module.exports = React.createClass({
7878
<div className="mx_ImageView_lhs">
7979
</div>
8080
<div className="mx_ImageView_content">
81-
<img src={this.props.src} style={style}/>
81+
<img src={this.props.src}/>
8282
<div className="mx_ImageView_labelWrapper">
8383
<div className="mx_ImageView_label">
8484
<div className="mx_ImageView_shim">

0 commit comments

Comments
 (0)