Skip to content

Commit

Permalink
style: 样式调整
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed Mar 19, 2024
1 parent 0c81e20 commit 7300505
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sub-store-front-end",
"version": "2.14.203",
"version": "2.14.204",
"private": true,
"scripts": {
"dev": "vite --host",
Expand Down
2 changes: 1 addition & 1 deletion src/components/ArtifactsListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ watch(isSyncOpen, async () => {
flex: 1;
display: flex;
align-items: center;
// justify-content: end;
flex-direction: row;
justify-content: flex-end; // ios 14
Expand Down
2 changes: 1 addition & 1 deletion src/views/My.vue
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ const setTag = (current) => {
.radio-wrapper {
display: flex;
align-items: center;
// justify-content: end;
.tag {
font-size: 12px;
Expand Down
3 changes: 2 additions & 1 deletion src/views/Sub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ const shouldShowElement = (element) => {
margin-top: 5px;
display: flex;
flex-wrap: wrap;
// justify-content: end;
// :deep(.nut-radio__button.false) {
// background: var(--divider-color);
Expand All @@ -644,6 +644,7 @@ const shouldShowElement = (element) => {
cursor: pointer;
-webkit-user-select: none;
user-select: none;
border-bottom: 1px solid transparent;
}
.current {
border-bottom: 1px solid var(--primary-color);
Expand Down
5 changes: 3 additions & 2 deletions src/views/SubEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ const urlValidator = (val: string): Promise<boolean> => {
}
.swtich-wrapper {
display: flex;
justify-content: end;
justify-content: flex-end
}
}
Expand All @@ -870,7 +870,7 @@ const urlValidator = (val: string): Promise<boolean> => {
.radio-wrapper {
display: flex;
// justify-content: end;
justify-content: flex-start;
// :deep(.nut-radio__button.false) {
// background: var(--divider-color);
Expand All @@ -885,6 +885,7 @@ const urlValidator = (val: string): Promise<boolean> => {
cursor: pointer;
-webkit-user-select: none;
user-select: none;
border-bottom: 1px solid transparent;
}
.current {
border-bottom: 1px solid var(--primary-color);
Expand Down
2 changes: 1 addition & 1 deletion src/views/editor/CommonBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,6 @@
.radio-wrapper {
display: flex;
justify-content: end;
justify-content: flex-end;
}
</style>
4 changes: 2 additions & 2 deletions src/views/editor/components/ActionRadio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@
align-items: center;
cursor: pointer;
img {
width: 16px;
height: 16px;
width: 14px;
height: 14px;
}
span {
margin: 0 4px;
Expand Down
19 changes: 15 additions & 4 deletions src/views/editor/components/FilterSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,19 @@
v-for="(item, index) in opt[type]"
:key="item"
:label="item"
>{{
$t(`editorPage.subConfig.nodeActions['${type}'].options[${index}]`)
}}</nut-checkbox
>
>
<span class="item" v-if="type === 'Region Filter' && item === 'TW'">
<img :src="tw" alt="">&nbsp;{{ item }}
</span>
<span v-else>{{ $t(`editorPage.subConfig.nodeActions['${type}'].options[${index}]`) }}</span>
</nut-checkbox>
</nut-checkboxgroup>
</div>
</template>

<script lang="ts" setup>
import { inject, ref, onMounted } from 'vue';
import tw from '@/assets/icons/tw.png';
const { type, id } = defineProps<{
type: string;
Expand Down Expand Up @@ -59,6 +62,14 @@
.checkbox-group {
display: grid;
grid-template-columns: 1fr 1fr;
.item {
display: flex;
align-items: center;
img {
width: 14px;
height: 14px;
}
}
view {
margin-bottom: 16px;
Expand Down

0 comments on commit 7300505

Please sign in to comment.