Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Site
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
24
Issues
24
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Indienet
Site
Commits
80ff3315
Commit
80ff3315
authored
Mar 13, 2018
by
Laura Kalbag
❤
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Break and hyphenate long profile names so they don't break follow modal layout
parent
ee0baa98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
components/followModal.vue
components/followModal.vue
+11
-1
No files found.
components/followModal.vue
View file @
80ff3315
...
...
@@ -53,11 +53,21 @@ export default {
</
script
>
<
style
>
div
.card-content
{
.card-content
{
padding-top
:
0
;
}
.card-image
.image
{
margin-top
:
0
;
}
.card-content
.profile-name
{
/* when profile names are really long, don’t let them break the modal layout, instead break the words and add hyphens */
-ms-word-break
:
break-all
;
word-break
:
break-all
;
word-break
:
break-word
;
-webkit-hyphens
:
auto
;
-moz-hyphens
:
auto
;
hyphens
:
auto
;
}
</
style
>
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