Skip to content

Commit 2cdb171

Browse files
committed
MOBILE-1987 forum: Add top border to attachments form
1 parent 4b749a1 commit 2cdb171

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

www/addons/mod/forum/scss/styles.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@
5353
border-left: 0;
5454
border-right: 0;
5555
}
56+
.item-media:first-child {
57+
border-top: 0;
58+
}
59+
.item-media:last-child {
60+
border-bottom: 0;
61+
}
5662
}
5763

5864
.item-divider {

www/core/scss/styles.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,17 @@ ion-spinner.mm-spinner-right {
12071207
}
12081208
}
12091209

1210+
.card .item-border,
1211+
.item-border {
1212+
&:first-child {
1213+
border-top: $item-border-width solid $item-light-border;
1214+
}
1215+
1216+
&:last-child {
1217+
border-bottom: $item-border-width solid $item-light-border;
1218+
}
1219+
}
1220+
12101221
// Video subtitles.
12111222
.platform-ios video::cue {
12121223
font-size: 12px;

www/core/templates/attachments.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="item item-text-wrap">
1+
<div class="item item-text-wrap item-border">
22
{{ 'mm.core.maxsizeandattachments' | translate:{$a: {size: maxSizeReadable, attachments: maxSubmissions} } }}
33
</div>
44
<div ng-repeat="file in files">

0 commit comments

Comments
 (0)