Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
964c58ac
Unverified
Commit
964c58ac
authored
Dec 10, 2022
by
M. Gschwandtner
Committed by
GitHub
Dec 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: responsive layout for create shortcut dialog (#717)
parent
56716cda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
create-shortcut-dialog.less
web/src/less/create-shortcut-dialog.less
+16
-10
No files found.
web/src/less/create-shortcut-dialog.less
View file @
964c58ac
...
...
@@ -8,10 +8,10 @@
@apply flex flex-col justify-start items-start;
> .form-item-container {
@apply w-full mt-2 py-1 flex
flex-row
justify-start items-start;
@apply w-full mt-2 py-1 flex
sm:flex-row flex-col
justify-start items-start;
> .normal-text {
@apply block flex-shrink-0 w-12 mr-3
text-righ
t text-sm leading-8;
@apply block flex-shrink-0 w-12 mr-3
sm:text-right text-lef
t text-sm leading-8;
color: gray;
}
...
...
@@ -23,7 +23,7 @@
@apply w-full flex flex-col justify-start items-start;
> .create-filter-btn {
@apply text-sm py-1 px-2 rounded shadow flex flex-row
justify-start items-center border dark:border-zinc-700 cursor-pointer text-blue-500 hover:opacity-80
;
@apply text-sm py-1 px-2 rounded shadow flex flex-row
sm:justify-start justify-center items-center border dark:border-zinc-700 cursor-pointer text-blue-500 hover:opacity-80 sm:min-w-0 min-w-full sm:mb-0 mb-1
;
}
}
}
...
...
@@ -56,14 +56,16 @@
}
.memo-filter-input-wrapper {
@apply w-full mb-3 shrink-0 flex flex-row
justify-start items-center
;
@apply w-full mb-3 shrink-0 flex flex-row
sm:justify-start justify-center items-center sm:flex-nowrap flex-wrap sm:gap-0 gap-3
;
> .selector-wrapper {
@apply mr-1 h-9 grow-0 shrink-0;
@apply mr-1 h-9 grow-0 shrink-0
sm:min-w-0 min-w-full
;
&.relation-selector {
@apply w-16;
margin-left: -68px;
@media only screen and (min-width: 640px) {
margin-left: -68px;
}
}
&.type-selector {
...
...
@@ -80,13 +82,17 @@
}
> input.value-inputer {
max-width: calc(100% - 152px);
@apply h-9 px-2 shrink-0 grow mr-1 text-sm rounded border bg-transparent hover:bg-gray-50;
@media only screen and (min-width: 640px) {
max-width: calc(100% - 152px);
}
@apply h-9 px-2 shrink-0 grow mr-1 text-sm rounded border bg-transparent hover:bg-gray-50 sm:min-w-0 min-w-full;
}
> input.datetime-selector {
max-width: calc(100% - 152px);
@apply h-9 px-2 shrink-0 grow mr-1 text-sm rounded border bg-transparent hover:bg-gray-50;
@media only screen and (min-width: 640px) {
max-width: calc(100% - 152px);
}
@apply h-9 px-2 shrink-0 grow mr-1 text-sm rounded border bg-transparent hover:bg-gray-50 sm:min-w-0 min-w-full;
}
> .remove-btn {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment