diff --git a/src/options/TheEntry.vue b/src/options/TheEntry.vue index 4dd77b3..8fa35cb 100644 --- a/src/options/TheEntry.vue +++ b/src/options/TheEntry.vue @@ -1,8 +1,11 @@ @@ -67,6 +69,11 @@ const percentage = computed(() => `${(usage.value.current / usage.value.total) * opacity: 0.7; } +.credit-text-group { + display: flex; + align-items: center; +} + .question-icon { margin-right: 6px; border: 0; @@ -81,4 +88,15 @@ const percentage = computed(() => `${(usage.value.current / usage.value.total) * .credit-text { margin-left: 6px; } + +@media only screen and (width <= 700px) { + .credit-status { + flex-direction: column; + align-items: flex-start; + } + + .credit-text-group { + margin-top: 16px; + } +} diff --git a/src/options/components/NavItem.vue b/src/options/components/NavItem.vue index 5edc136..4157986 100644 --- a/src/options/components/NavItem.vue +++ b/src/options/components/NavItem.vue @@ -73,6 +73,8 @@ const onChange = () => { .icon-outline { display: block; + width: 24px; + height: 24px; } .active-nav { @@ -80,6 +82,8 @@ const onChange = () => { .icon-filled { display: block; + width: 24px; + height: 24px; } .icon-outline { @@ -107,6 +111,8 @@ const onChange = () => { .icon-filled { display: block; + width: 24px; + height: 24px; } .icon-outline { @@ -128,4 +134,19 @@ const onChange = () => { background-color: #585c8a; } } + +@media only screen and (width <= 700px) { + .nav-label { + display: none; + } + + .nav-item { + display: flex; + align-items: center; + justify-content: center; + width: 36px; + height: 36px; + padding: 7px 0; + } +} diff --git a/src/options/images/icon-nav-about-filled.vue b/src/options/images/icon-nav-about-filled.vue new file mode 100644 index 0000000..7a43242 --- /dev/null +++ b/src/options/images/icon-nav-about-filled.vue @@ -0,0 +1,8 @@ + diff --git a/src/options/images/icon-nav-about-outline.vue b/src/options/images/icon-nav-about-outline.vue new file mode 100644 index 0000000..95f51cb --- /dev/null +++ b/src/options/images/icon-nav-about-outline.vue @@ -0,0 +1,8 @@ + diff --git a/src/options/images/icon-nav-extension-filled.vue b/src/options/images/icon-nav-extension-filled.vue new file mode 100644 index 0000000..bfd4262 --- /dev/null +++ b/src/options/images/icon-nav-extension-filled.vue @@ -0,0 +1,10 @@ + diff --git a/src/options/images/icon-nav-extension-outline.vue b/src/options/images/icon-nav-extension-outline.vue new file mode 100644 index 0000000..dc8d5c4 --- /dev/null +++ b/src/options/images/icon-nav-extension-outline.vue @@ -0,0 +1,8 @@ + diff --git a/src/options/views/AboutView.vue b/src/options/views/AboutView.vue index 3e6440b..6be7970 100644 --- a/src/options/views/AboutView.vue +++ b/src/options/views/AboutView.vue @@ -53,6 +53,7 @@ onMounted(() => { .about-view { display: flex; flex-direction: column; + width: 100%; height: 100%; color: var(--color-baseline-text); font-weight: 400; @@ -70,6 +71,7 @@ onMounted(() => { display: grid; grid-template-columns: repeat(6, 1fr); row-gap: 12px; + column-gap: max(8px, 2%); } .contributor-card { @@ -163,9 +165,20 @@ onMounted(() => { } } -@media screen and (width <= 800px) { +@media screen and (width <= 700px) { .contributors-wrap { - grid-template-columns: repeat(1, 1fr); + width: 100%; + } + + .contributor-card { + width: 174px; + height: 102px; + padding: 16px; + padding-top: 24px; + } + + .card-avatar { + display: none; } }