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 67679944
authored
Apr 16, 2025
by
Samuel Taniel Mulyadi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix responsive jadwal
1 parent
614fd47c
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 @
6767994
...
...
@@ -301,7 +301,7 @@ function getColorClass(index: number) {
<div
class=
"course-title font-semibold text-sm mb-1"
>
<span
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] }}
</span>
...
...
@@ -402,21 +402,18 @@ function getColorClass(index: number) {
}
.course-title
{
display
:
-webkit-box
;
overflow
:
hidden
;
border-block-end
:
1px
solid
;
-webkit-box-orient
:
vertical
;
font-size
:
12px
;
font-weight
:
bold
;
inline-size
:
100%
;
-webkit-line-clamp
:
2
;
/* Number of lines before cutting */
margin-block-end
:
5px
;
padding-block-end
:
5px
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
/* Show "..." */
}
.course-prefix
{
color
:
color-mix
(
in
srgb
,
rgba
(
var
(
--v-global-theme-primary
))
70%
,
black
30%
);
padding-inline-end
:
4px
;
text-decoration
:
underline
;
}
...
...
@@ -547,7 +544,6 @@ function getColorClass(index: number) {
}
.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 */
}
...
...
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