Skip to content

Commit

Permalink
ボタン配置の調整
Browse files Browse the repository at this point in the history
  • Loading branch information
Nattuki committed Jul 14, 2024
1 parent a9fb3d7 commit a4a7e6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
20 changes: 1 addition & 19 deletions src/pages/registerView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,9 @@
<div :class="$style.itemC">C</div>
</div>
</div>
<div>
<radio-card
title="testtesttest"
content="testtest"
input-id="1"
name="ok"
value="a"
/>
<radio-card
title="testtesttest"
content="testtes"
input-id="2"
name="ok"
value="b"
/>
</div>
</template>

<script setup lang="ts">
import RadioCard from '@/shared/components/RadioCard.vue';
</script>
<script setup lang="ts"></script>

<style lang="scss" module>
.wrapper {
Expand Down
4 changes: 3 additions & 1 deletion src/shared/components/RadioButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
:for="props.inputId"
:class="$style.label"
:style="`width: ${props.size}; height: ${props.size}`"
></label>
>
</label>
</template>

<script lang="ts" setup>
Expand All @@ -33,6 +34,7 @@ const props = withDefaults(
}
.label {
display: inline-block;
cursor: pointer;
position: relative;
}
Expand Down

0 comments on commit a4a7e6a

Please sign in to comment.