mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 17:55:52 +02:00
fix(frontend): ユーザー概要ページのファイルの項目のデザイン改良 (#16063)
This commit is contained in:
@@ -48,7 +48,6 @@ const props = withDefaults(defineProps<{
|
||||
thin?: boolean;
|
||||
naked?: boolean;
|
||||
foldable?: boolean;
|
||||
onUnfold?: () => boolean; // return false to prevent unfolding
|
||||
scrollable?: boolean;
|
||||
expanded?: boolean;
|
||||
maxHeight?: number | null;
|
||||
@@ -103,8 +102,6 @@ const omitObserver = new ResizeObserver((entries, observer) => {
|
||||
});
|
||||
|
||||
function showMore() {
|
||||
if (props.onUnfold && !props.onUnfold()) return;
|
||||
|
||||
ignoreOmit.value = true;
|
||||
omitted.value = false;
|
||||
}
|
||||
|
||||
@@ -100,6 +100,7 @@ const showingFiles = ref<Set<string>>(new Set());
|
||||
font-size: 0.8em;
|
||||
text-align: center;
|
||||
padding: 8px;
|
||||
border-radius: calc(var(--MI-radius) / 2);
|
||||
box-sizing: border-box;
|
||||
color: #fff;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
|
||||
Reference in New Issue
Block a user