Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dtd
/
civitas.ui
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8a050591
authored
a week ago
by
Samuel Taniel Mulyadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
responsive jadwal
1 parent
a26da8c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
1 deletions
components/beranda/UserJadwal.vue
components/beranda/UserJadwal.vue
View file @
8a05059
...
@@ -275,6 +275,8 @@ function calculateRowSpan(start: string, end: string) {
...
@@ -275,6 +275,8 @@ function calculateRowSpan(start: string, end: string) {
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
/* Pushes elements to the left & right */
justify-content
:
space-between
;
/* Pushes elements to the left & right */
inline-size
:
100%
;
/* Ensures full width */
inline-size
:
100%
;
/* Ensures full width */
text-overflow
:
ellipsis
;
/* Adds "..." when text is too long */
word-break
:
break-word
;
/* Allows text to wrap naturally */
}
}
.time
{
.time
{
...
@@ -283,13 +285,48 @@ function calculateRowSpan(start: string, end: string) {
...
@@ -283,13 +285,48 @@ function calculateRowSpan(start: string, end: string) {
}
}
.room
{
.room
{
overflow
:
hidden
;
font-weight
:
normal
;
font-weight
:
normal
;
text-align
:
end
;
/* Aligns room to the right */
text-align
:
end
;
/* Aligns room to the right */
text-overflow
:
ellipsis
;
}
}
.building
{
.building
{
font-weight
:
normal
;
font-weight
:
normal
;
opacity
:
0.8
;
opacity
:
0.8
;
text-align
:
end
;
/* Aligns room to the right */
text-align
:
start
;
/* Aligns room to the right */
}
@media
screen
and
(
max-width
:
1200px
)
{
.course-title
{
border-block-end
:
0
solid
;
}
.course-header
{
overflow-x
:
hidden
;
/* Hides horizontal overflow */
text-overflow
:
ellipsis
;
/* Adds "..." when text is too long */
word-break
:
break-word
;
/* Allows text to wrap naturally */
}
.building
,
.time
{
display
:
none
;
}
}
@media
screen
and
(
max-width
:
900px
)
{
.course-title
{
border-block-end
:
0
solid
;
}
.room
{
text-align
:
start
;
}
}
@media
screen
and
(
max-width
:
600px
)
{
.room
{
display
:
none
;
}
}
}
</
style
>
</
style
>
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
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 post a comment