@madeinbruno/atelier 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/styles.css +15 -8
package/package.json
CHANGED
package/styles.css
CHANGED
|
@@ -193,27 +193,34 @@
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
/* 툴팁: 기호 위에 작은 글씨가 뜬다 (CSS만, 스크립트 없음).
|
|
196
|
-
세탁 표시
|
|
197
|
-
|
|
196
|
+
기호가 아니라 세탁 표시 줄(.mib-tag__care, 택 안쪽 폭) 기준으로 띄운다: 줄 왼쪽 끝에서 시작하고
|
|
197
|
+
폭은 줄을 넘지 않으며, 길면 잘라내지 않고 줄을 바꿔 끝까지 보여 준다. 그래서 택 밖으로 나가지 않는다. */
|
|
198
|
+
.mib-tag__care {
|
|
198
199
|
position: relative;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.mib-tag__care-item {
|
|
199
203
|
display: flex;
|
|
200
204
|
}
|
|
201
205
|
|
|
202
206
|
.mib-tag__care-item[data-tip]::after {
|
|
203
207
|
content: attr(data-tip);
|
|
204
208
|
position: absolute;
|
|
205
|
-
bottom: calc(100% +
|
|
209
|
+
bottom: calc(100% + 6px);
|
|
206
210
|
left: 0;
|
|
211
|
+
width: max-content;
|
|
212
|
+
max-width: 100%;
|
|
213
|
+
box-sizing: border-box;
|
|
207
214
|
padding: 4px 8px;
|
|
208
215
|
border-radius: 4px;
|
|
209
216
|
background: var(--mib-ink);
|
|
210
217
|
color: #fff;
|
|
211
218
|
font-size: 11px;
|
|
212
|
-
line-height: 1.
|
|
213
|
-
white-space:
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
219
|
+
line-height: 1.4;
|
|
220
|
+
white-space: normal;
|
|
221
|
+
/* 한국어는 단어 중간이 아니라 띄어쓰기에서 줄을 바꾼다. 아주 긴 한 단어만 어쩔 수 없이 자른다 */
|
|
222
|
+
word-break: keep-all;
|
|
223
|
+
overflow-wrap: anywhere;
|
|
217
224
|
pointer-events: none;
|
|
218
225
|
opacity: 0;
|
|
219
226
|
transform: translateY(2px);
|