メタデータプレビュー専用のスタイルなので .link-card-mini はSFC内に封印

This commit is contained in:
shibafu 2019-06-27 23:55:36 +09:00
parent 0aed1d9ebe
commit ec4e0f3dda
2 changed files with 24 additions and 25 deletions

View File

@ -70,6 +70,30 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.link-card-mini {
$height: 150px;
.row > div {
overflow: hidden;
}
.row > div:first-child {
display: flex;
&:not([display=none]) {
min-height: $height;
img {
position: absolute;
}
}
}
.card-text {
white-space: pre-line;
}
}
.metadata-tag-item { .metadata-tag-item {
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;

View File

@ -29,28 +29,3 @@
white-space: pre-line; white-space: pre-line;
} }
} }
// チェックイン画面用
.link-card-mini {
$height: 150px;
.row > div {
overflow: hidden;
}
.row > div:first-child {
display: flex;
&:not([display=none]) {
min-height: $height;
img {
position: absolute;
}
}
}
.card-text {
white-space: pre-line;
}
}