Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix social links breaking over multiple lines like "(icon)\n@dflemstr" #140

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@
text-decoration: line-through;
}

.single-line {
white-space: nowrap;
}

.plain-panel {
@include panel(#FAFAFA);
}
Expand Down
22 changes: 11 additions & 11 deletions src/main/webapp/partial/about.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<div>
<h1>About</h1>

<p>
Welcome to QWait [kuːˈwaɪt], the new open source, web based queueing manager developed for KTH CSC. Since the last millennium,
the mere mention of the queueing manager which must not be named has brought terror into the hearts of even the most
fearless students, but we say: no more. We have built QWait with a robust backend that will never give up on you,
and a lightweight web interface which can be used with your desktop, laptop, mobile device or toaster (given that it
supports HTML). Best of all: it makes queueing simple, just as it should be.
Welcome to QWait [kuːˈwaɪt], the new open source, web based queueing manager developed for KTH CSC. Since the last
millennium, the mere mention of the queueing manager which must not be named has brought terror into the hearts of
even the most fearless students, but we say: no more. We have built QWait with a robust backend that will never give
up on you, and a lightweight web interface which can be used with your desktop, laptop, mobile device or toaster
(given that it supports HTML). Best of all: it makes queueing simple, just as it should be.
</p>

<p>
<a href="https://github.com/mvk13ogb/qwait">
<i class="size-24 fi-social-github"></i> QWait@GitHub
Expand All @@ -25,13 +27,11 @@ <h2>Contributors</h2>
</div>
<div class="medium-8 columns">
<h4>{{contributor.name}}</h4>
<a ng-if="contributor.twitter" href="//twitter.com/{{contributor.twitter}}">
<i class="fi-social-twitter"></i>
@{{contributor.twitter}}
<a ng-if="contributor.twitter" href="//twitter.com/{{contributor.twitter}}" class="single-line">
<i class="fi-social-twitter"></i> @{{contributor.twitter}}
</a>
<a ng-if="contributor.github" href="//github.com/{{contributor.github}}">
<i class="fi-social-github"></i>
{{contributor.github}}
<a ng-if="contributor.github" href="//github.com/{{contributor.github}}" class="single-line">
<i class="fi-social-github"></i> {{contributor.github}}
</a>
</div>
</div>
Expand Down