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 2c99d243
authored
Apr 16, 2025
by
Samuel Taniel Mulyadi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 'staging'
Master See merge request
!14
2 parents
3325030e
55c8246b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
components/beranda/UserJadwal.vue
components/beranda/UserJadwal.vue
View file @
2c99d24
...
@@ -301,7 +301,7 @@ function getColorClass(index: number) {
...
@@ -301,7 +301,7 @@ function getColorClass(index: number) {
<div
class=
"course-title font-semibold text-sm mb-1"
>
<div
class=
"course-title font-semibold text-sm mb-1"
>
<span
<span
v-if=
"getScheduleByDay(day)[rowIndex - 1].course.includes('-')"
v-if=
"getScheduleByDay(day)[rowIndex - 1].course.includes('-')"
style=
"text-decoration: underline;"
style=
"
padding-inline-end: 4px;
text-decoration: underline;"
>
>
{{ getScheduleByDay(day)[rowIndex - 1].course.split(' - ')[0] }}
{{ getScheduleByDay(day)[rowIndex - 1].course.split(' - ')[0] }}
</span>
</span>
...
@@ -402,21 +402,18 @@ function getColorClass(index: number) {
...
@@ -402,21 +402,18 @@ function getColorClass(index: number) {
}
}
.course-title
{
.course-title
{
display
:
-webkit-box
;
overflow
:
hidden
;
border-block-end
:
1px
solid
;
border-block-end
:
1px
solid
;
-webkit-box-orient
:
vertical
;
font-size
:
12px
;
font-size
:
12px
;
font-weight
:
bold
;
font-weight
:
bold
;
inline-size
:
100%
;
inline-size
:
100%
;
-webkit-line-clamp
:
2
;
/* Number of lines before cutting */
margin-block-end
:
5px
;
margin-block-end
:
5px
;
padding-block-end
:
5px
;
padding-block-end
:
5px
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
/* Show "..." */
}
}
.course-prefix
{
.course-prefix
{
color
:
color-mix
(
in
srgb
,
rgba
(
var
(
--v-global-theme-primary
))
70%
,
black
30%
);
color
:
color-mix
(
in
srgb
,
rgba
(
var
(
--v-global-theme-primary
))
70%
,
black
30%
);
padding-inline-end
:
4px
;
text-decoration
:
underline
;
text-decoration
:
underline
;
}
}
...
@@ -547,7 +544,6 @@ function getColorClass(index: number) {
...
@@ -547,7 +544,6 @@ function getColorClass(index: number) {
}
}
.course-header
{
.course-header
{
overflow-x
:
hidden
;
/* Hides horizontal overflow */
text-overflow
:
ellipsis
;
/* Adds "..." when text is too long */
text-overflow
:
ellipsis
;
/* Adds "..." when text is too long */
word-break
:
break-word
;
/* Allows text to wrap naturally */
word-break
:
break-word
;
/* Allows text to wrap naturally */
}
}
...
...
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