画面幅が狭い時はボタンをアイコンだけにする - #1021
Open
YuHima03 wants to merge 3 commits into
Open
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR implements a responsive UI improvement for the calendar component, replacing button text with icons on narrow screens to prevent layout issues on mobile devices.
- Replaces "Today" button text with
mdi-calendar-today-outlineicon on small screens - Updates calendar view type selector to show icons instead of text labels on mobile
- Adds icons to dropdown menu items for better visual consistency
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| </v-btn> | ||
| <v-btn fab text small color="grey darken-2" @click="next"> | ||
| <v-icon small> mdi-chevron-right </v-icon> | ||
| <v-btn outlined color="grey darken-2" @click="jumpToCurrentDate"> |
There was a problem hiding this comment.
The removal of the mr-4 class may affect the spacing between the Today button and navigation controls. Consider adding appropriate margin classes to maintain consistent spacing.
Suggested change
| <v-btn outlined color="grey darken-2" @click="jumpToCurrentDate"> | |
| <v-btn outlined color="grey darken-2" class="mr-4" @click="jumpToCurrentDate"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ボタンが幅を取りすぎてスマホだと見切れていたので, アイコンだけにしました.
Todayの代わりに
mdi-calendar-today-outlineを置きましたが, ぱっと見で分からないかも...?というのが懸念点です.