Sitic has uploaded a new change for review.
https://gerrit.wikimedia.org/r/220477
Change subject: Fix fontsize and fix layout in Firefox
......................................................................
Fix fontsize and fix layout in Firefox
Bug: T103680
Change-Id: I8cce7de40bae930e36efe3f3e78434aaca729bcf
---
M frontend/src/app/index.css
M frontend/src/components/watchlist/entry.directive.html
2 files changed, 20 insertions(+), 25 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/labs/tools/crosswatch
refs/changes/77/220477/1
diff --git a/frontend/src/app/index.css b/frontend/src/app/index.css
index a3d4628..db23674 100644
--- a/frontend/src/app/index.css
+++ b/frontend/src/app/index.css
@@ -1,15 +1,12 @@
-/*
html {
font-size: 62.5%;
line-height: 1.4;
- background-color: #edecec;
}
-*/
body {
background-color: #edecec;
font-family: 'Roboto', sans-serif;
- /* font-size: 1.6rem; */
+ font-size: 1.6rem;
}
div[role=main] {
@@ -89,42 +86,42 @@
border-bottom: none;
}
-.text-success{
+.text-success {
color:#3c763d
}
-.text-danger{
+.text-danger {
color:#a94442
}
-.text-muted{
+.text-muted {
color:#777
}
-.whitebox{
+.whitebox {
background-color: white;
width: 100%;
max-width: 1200px;
}
-.watchlist{
+watchlist-entry {
overflow: hidden;
width: 100%;
}
-.watchlist a{
+watchlist-entry a{
color:#0645ad;
}
-.watchlist .left {
+watchlist-entry .left {
float: left;
width: 125px;
overflow: hidden;
}
-.watchlist a.project {
+watchlist-entry a.project {
color: rgba(0, 0, 0, 0.87);
}
-.watchlist .right {
+watchlist-entry .right {
overflow: hidden;
}
diff --git a/frontend/src/components/watchlist/entry.directive.html
b/frontend/src/components/watchlist/entry.directive.html
index 076da1d..83e99f3 100644
--- a/frontend/src/components/watchlist/entry.directive.html
+++ b/frontend/src/components/watchlist/entry.directive.html
@@ -1,17 +1,15 @@
-<div class="watchlist">
- <div class="left">
- <div am-time-ago="event.timestamp"></div>
- <a href="{{::event.projecturl}}/wiki/Special:Watchlist" class="project"
- title="{{::event.project}}" target="_blank">
+<div class="left">
+ <div am-time-ago="event.timestamp"></div>
+ <a href="{{::event.projecturl}}/wiki/Special:Watchlist" class="project"
+ title="{{::event.project}}" target="_blank">
<span ng-if="::event.projectlang">
<span ng-if="!ctrl.config.flagsenable ||
!ctrl.flagurl(event.projectlang)">{{::event.projectlangname}} </span>
<img ng-if="ctrl.config.flagsenable && ctrl.flagurl(event.projectlang)"
height="12px" ng-src="{{::ctrl.flagurl(event.projectlang)}}">
</span>
- <img height="16px" ng-src="{{::ctrl.icons[event.projectgroup]}}"
alt="{{::event.projectgroup}}">
- </a>
- </div>
- <div class="right">
- <watchlist-edit ng-if="::event.type === 'edit' || event.type ===
'new'"></watchlist-edit>
- <watchlist-logevent ng-if="::event.type === 'log'"></watchlist-logevent>
- </div>
+ <img height="16px" ng-src="{{::ctrl.icons[event.projectgroup]}}"
alt="{{::event.projectgroup}}">
+ </a>
+</div>
+<div class="right">
+ <watchlist-edit ng-if="::event.type === 'edit' || event.type ===
'new'"></watchlist-edit>
+ <watchlist-logevent ng-if="::event.type === 'log'"></watchlist-logevent>
</div>
--
To view, visit https://gerrit.wikimedia.org/r/220477
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8cce7de40bae930e36efe3f3e78434aaca729bcf
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/crosswatch
Gerrit-Branch: master
Gerrit-Owner: Sitic <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits