index.wxss 755 Bytes
Newer Older
程智春 committed
1
/* static/nativeComponents/Notice/index.wxss */
侯体倬 committed
2
.notice {
程智春 committed
3
  position: relative;
侯体倬 committed
4 5 6 7 8 9 10 11 12 13 14 15
}

.notice .container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.container .notice-icon {
  margin-left: 15px;
  width: 100%;
李嘉林 committed
16 17 18 19 20
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
侯体倬 committed
21 22 23 24 25 26 27 28 29 30 31
}

.container .notice-content {
  flex: auto;
  margin-left: 15px;
}

.notice-content .content {
  flex: auto;
  word-wrap: break-word;
  word-break: break-all;
程智春 committed
32
  overflow: hidden;
侯体倬 committed
33 34 35 36 37 38 39 40 41 42
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.container .notice-arrowhead {
  margin: 0 15px;
  width: 17px;
  height: 17px;
程智春 committed
43
}