Skip to content

Commit

Permalink
JS/Misc
Browse files Browse the repository at this point in the history
 * grid tables no longer clear floating elements (have an eye out if this broke something)
 * add 1px to inner tooltips so it doesn't unexpectedly line break
  • Loading branch information
Sarjuuk committed Mar 11, 2022
1 parent 1c7acf6 commit e092a69
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion static/css/aowow.css
Original file line number Diff line number Diff line change
Expand Up @@ -3859,7 +3859,7 @@ a.button-bigblue b {

.grid {
width: 100%;
clear: both;
/* clear: both; */
border-collapse: collapse;
background-color: #141414;
border: 2px solid #404040;
Expand Down
16 changes: 8 additions & 8 deletions static/js/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -1944,11 +1944,11 @@ $WH.Tooltip = {

var
tooltip = $WH.Tooltip.tooltip,
tow = $WH.Tooltip.tooltipTable.offsetWidth,
toh = $WH.Tooltip.tooltipTable.offsetHeight,
tow = $WH.Tooltip.tooltipTable.offsetWidth + 1,
toh = $WH.Tooltip.tooltipTable.offsetHeight + 1,
tt2 = $WH.Tooltip.tooltip2,
tt2w = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetWidth : 0,
tt2h = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetHeight : 0,
tt2w = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetWidth + 1 : 0,
tt2h = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetHeight + 1 : 0,
_;

tooltip.style.width = tow + 'px';
Expand Down Expand Up @@ -1981,11 +1981,11 @@ $WH.Tooltip = {
bakLeft = left,
bakTop = top,
tooltip = $WH.Tooltip.tooltip,
tow = $WH.Tooltip.tooltipTable.offsetWidth,
toh = $WH.Tooltip.tooltipTable.offsetHeight,
tow = $WH.Tooltip.tooltipTable.offsetWidth + 1,
toh = $WH.Tooltip.tooltipTable.offsetHeight + 1,
tt2 = $WH.Tooltip.tooltip2,
tt2w = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetWidth : 0,
tt2h = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetHeight : 0,
tt2w = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetWidth + 1 : 0,
tt2h = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetHeight + 1 : 0,
winSize = $WH.g_getWindowSize(),
scroll = $WH.g_getScroll(),
bcw = winSize.w,
Expand Down

0 comments on commit e092a69

Please # to comment.