Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bad readability issue of Include Timestamp #1401

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions web/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@
@apply text-gray-700 dark:text-gray-300;
}

/*low contrast text*/
.important-text-4 {
@apply text-gray-700 dark:text-gray-300 !important;
}

/*full contrast text*/
.text-5 {
@apply text-gray-600 dark:text-gray-400;
Expand Down
2 changes: 1 addition & 1 deletion web/template/watch.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
class="flex justify-start items-center pt-2">
<input id="include-timestamp" type="checkbox" class="h-8 hover:cursor-pointer"
x-model="share.includeTimestamp" @change="share.setURL(false)">
<label for="include-timestamp" class="font-light text-4 text-xs ml-2">Include Timestamp</label>
<label for="include-timestamp" class="font-light text-xs ml-2 important-text-4">Include Timestamp</label>
<input x-cloak x-show="share.includeTimestamp" class="tl-input h-8 w-20 text-xs ml-2"
type="text" x-model="share.timestamp" @input="share.setURL(false);">
</div>
Expand Down
Loading