Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
IF3110-2018-K03-Petjah
TugasBesar1_2018
Commits
9965eda3
Commit
9965eda3
authored
Oct 25, 2018
by
Wildan Dicky Alnatara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing text overflow on profile page
parent
10ebfb2b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
5 deletions
+18
-5
web/basic/header.php
web/basic/header.php
+1
-1
web/css/basic.css
web/css/basic.css
+13
-0
web/profile/view.php
web/profile/view.php
+4
-4
No files found.
web/basic/header.php
View file @
9965eda3
...
...
@@ -32,7 +32,7 @@ class Header {
<link rel="stylesheet" type="text/css" href="../css/color-lib.css">
<link rel="stylesheet" type="text/css" href="../css/basic.css">
<link rel="stylesheet" href="../css/'
.
$cssName
.
'.css">
<meta name="viewport" content="width=device-width, initial-scale=
5
.0">
<meta name="viewport" content="width=device-width, initial-scale=
1
.0">
<script src="../javascript/'
.
$jsName
.
'.js"></script>
</head>
'
;
...
...
web/css/basic.css
View file @
9965eda3
...
...
@@ -225,4 +225,17 @@ a {
#rightbar-pic
>
div
{
margin-block-end
:
10px
;
}
.dont-break-out
{
overflow-wrap
:
break-word
;
word-wrap
:
break-word
;
-ms-word-break
:
break-all
;
word-break
:
break-all
;
word-break
:
break-word
;
-ms-hyphens
:
auto
;
-moz-hyphens
:
auto
;
-webkit-hyphens
:
auto
;
hyphens
:
auto
;
}
\ No newline at end of file
web/profile/view.php
View file @
9965eda3
...
...
@@ -26,28 +26,28 @@ function viewProfile (array $params) {
Your browser does not support SVG
</object>
<div class="flex-1">Username</div>
<div class="flex-2">@'
.
$params
[
'username'
]
.
'</div>
<div class="
dont-break-out
flex-2">@'
.
$params
[
'username'
]
.
'</div>
</div>
<div class="flex-container align-items-flex-center">
<object class="icon-profile" type="image/svg+xml" data="../svgIcon/mail.svg">
Your browser does not support SVG
</object>
<div class="flex-1">Email</div>
<div class="flex-2">'
.
$params
[
'email'
]
.
'</div>
<div class="
dont-break-out
flex-2">'
.
$params
[
'email'
]
.
'</div>
</div>
<div class="flex-container align-items-flex-center">
<object class="icon-profile" type="image/svg+xml" data="../svgIcon/home.svg">
Your browser does not support SVG
</object>
<div class="flex-1">Address</div>
<div class="flex-2">'
.
$params
[
'address'
]
.
'</div>
<div class="
dont-break-out
flex-2">'
.
$params
[
'address'
]
.
'</div>
</div>
<div class="flex-container align-items-flex-center">
<object class="icon-profile" type="image/svg+xml" data="../svgIcon/phone.svg">
Your browser does not support SVG
</object>
<div class="flex-1">Phone Number</div>
<div class="flex-2">'
.
$params
[
'phone'
]
.
'</div>
<div class="
dont-break-out
flex-2">'
.
$params
[
'phone'
]
.
'</div>
</div>
</div>
'
;
...
...
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